version 1.44, 2002/04/25 10:58:05 |
version 1.45, 2002/05/30 06:51:46 |
|
|
memset((char *)&hisctladdr, 0, sizeof (hisctladdr)); |
memset((char *)&hisctladdr, 0, sizeof (hisctladdr)); |
memset(&hints, 0, sizeof(hints)); |
memset(&hints, 0, sizeof(hints)); |
hints.ai_flags = AI_CANONNAME; |
hints.ai_flags = AI_CANONNAME; |
hints.ai_family = AF_UNSPEC; |
hints.ai_family = family; |
hints.ai_socktype = SOCK_STREAM; |
hints.ai_socktype = SOCK_STREAM; |
hints.ai_protocol = 0; |
hints.ai_protocol = 0; |
error = getaddrinfo(host, port, &hints, &res0); |
error = getaddrinfo(host, port, &hints, &res0); |