<filename>netlib.c</filename> Functions:-This provides socket connectivity. Notes based on $Id: netlib.c 4376 2007-06-02 06:29:26Z esr $ int netlib_connectsock(const char *host, const char *service, const char *protocol) This attempts to connect the to nominated service on the nominated host using the nominated protocol. On success, the return value is the socket number. On error, an appropriate system defined error code is returned. char *sock2ip(int fd) This makes a call to getpeername using the spplied fd. On success, the returned string is the ip address in dotted notation. On error, "<unknown>" is returned.