.
D 2008-05-26T18:35:21
J icomment Logged\sIn:\sYES\s\nuser_id=2091947\nOriginator:\sNO\n\nMaybe\sproblem\sis\sbecause\sgethostbyaddr_r\sreturn\smore\sthan\sone\serror\sconditions:\nhttp://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/tsghosta.htm\n\n"\nError\sConditions\n\nWhen\sthe\sgethostbyaddr_r()\sfunction\sfails,\sh_errno\s(defined\sin\s<netdb.h>)\scan\sbe\sset\sto:\n\n[HOST_NOT_FOUND]\n[NO_DATA]\n[NO_RECOVERY]\n[TRY_AGAIN]\n[EINVAL]\n"\n\nIn\sTclpGetHostByAddr(const\schar\s*addr,\sint\slength,\sint\stype)\sin\stclUnixCompat.c\swe\shave\sonly\sNULL?\sIf\sI\sreduce\sTclpGetHostByAddr()\sto:\n\nstruct\shostent\s*\nTclpGetHostByAddr(\n\s\s\s\sconst\schar\s*addr,\n\s\s\s\sint\slength,\n\s\s\s\sint\stype)\n{\n\s\s\s\sreturn\sgethostbyaddr(addr,\slength,\stype);\n}\n\neverything\sis\sOK.\sBut\sthis\sis\sNOT\sanswer.\n
J login wapinski
J mimetype text/plain
J username wapinski
K 1962217fffffffffffffffffffffffffffffffff
U wapinski
Z cbf2bfa56ab9cb0c86ee0c4f67207dff