Message209572
Yes, I had checked that just in case; getaddrinfo(3) works for the all-digit hostname, returning no error. I'm using these hints:
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
hints.ai_protocol = 0;
hints.ai_canonname = NULL;
hints.ai_addr = NULL;
hints.ai_next = NULL;
Tested on glibc-2.18. |
|
Date |
User |
Action |
Args |
2014-01-28 18:32:13 | ariel | set | recipients:
+ ariel, r.david.murray, ariel-wikimedia |
2014-01-28 18:32:13 | ariel | set | messageid: <1390933933.96.0.855307368401.issue20418@psf.upfronthosting.co.za> |
2014-01-28 18:32:13 | ariel | link | issue20418 messages |
2014-01-28 18:32:13 | ariel | create | |
|