Home | History | Annotate | Download | only in common

Lines Matching refs:hints

2  * without a 'hints' argument
18 struct addrinfo hints;
22 /* first, try without any hints */
31 /* now try with the hints */
32 memset(&hints, 0, sizeof(hints));
33 hints.ai_family = AF_UNSPEC;
34 hints.ai_socktype = SOCK_STREAM;
35 hints.ai_protocol = IPPROTO_TCP;
37 ret = getaddrinfo( SERVER_NAME, PORT_NUMBER, &hints, &res );