Definition at line 973 of file tcpip.c.
Referenced by tcpip_open_client().
978 ptr = (
unsigned char *)
node+(
int)strlen(
node)+1;
983 if( (ipaddr[0] == 0xff) &&
984 (ipaddr[1] == 0xff) &&
985 (ipaddr[2] == 0xff) &&
986 (ipaddr[3] == 0xff) )
988 errno = ECONNREFUSED;
990 WSASetLastError(errno);
994 if( gethostbyaddr(ipaddr,
sizeof(ipaddr), AF_INET) == (
struct hostent *)0 )
999 ret = WSAGetLastError();
1001 if((ret == HOST_NOT_FOUND) || (ret == NO_DATA))