4 * Header file for TCP client socket library
7 int sock_connect(char *host, char *service, char *protocol);
8 int sock_read(int sock, char *buf, int bytes);
9 int sock_write(int sock, *buf, int nbytes);
10 int *sock_gets(int sock, *buf);
11 int sock_puts(int sock, *buf);
14 * This looks dumb, but it's being done for future portability
16 #define sock_close(sock) close(sock)