Differences From Artifact [b609afae72]:
- File
src/OFTCPSocket.m
— part of check-in
[541b33d978]
at
2013-01-09 22:10:44
on branch trunk
— OFTCPSocket: Set ai_flags.
For connect(), this sets ai_flags to:
AI_NUMERICSERV | AI_ADDRCONFIGFor bind(), this sets ai_flags to:
AI_NUMERICSERV | AI_ADDRCONFIG | AI_PASSIVE (user: js, size: 15841) [annotate] [blame] [check-ins using]
To Artifact [b8a3a39e39]:
- File src/OFTCPSocket.m — part of check-in [9a9a02555d] at 2013-01-09 22:13:20 on branch trunk — OFTCPSocket: Use getnameinfo with NI_NUMERICSERV. (user: js, size: 15858) [annotate] [blame] [check-ins using]
︙ | |||
685 686 687 688 689 690 691 | 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 | - + | selector: _cmd]; #ifdef HAVE_THREADSAFE_GETADDRINFO host = [self allocMemoryWithSize: NI_MAXHOST]; @try { if (getnameinfo((struct sockaddr*)sockAddr, sockAddrLen, host, |
︙ |