Overview
| Artifact ID: | 75acd0e64d2c54e8f6f85014dcd83860815e77b0 |
|---|---|
| Ticket: | 1962217fffffffffffffffffffffffffffffffff
dns resolver problem |
| User & Date: | wapinski on 2008-05-26 18:35:21 |
Changes
- icomment:
Logged In: YES user_id=2091947 Originator: NO Maybe problem is because gethostbyaddr_r return more than one error conditions: http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/tsghosta.htm " Error Conditions When the gethostbyaddr_r() function fails, h_errno (defined in <netdb.h>) can be set to: [HOST_NOT_FOUND] [NO_DATA] [NO_RECOVERY] [TRY_AGAIN] [EINVAL] " In TclpGetHostByAddr(const char *addr, int length, int type) in tclUnixCompat.c we have only NULL? If I reduce TclpGetHostByAddr() to: struct hostent * TclpGetHostByAddr( const char *addr, int length, int type) { return gethostbyaddr(addr, length, type); } everything is OK. But this is NOT answer. - login: "wapinski"
- mimetype: "text/plain"
- username: "wapinski"