#ifndef util_h_INCLUDED #define util_h_INCLUDED #include #include #include // repeatedly call send until all the data has been sent down // the socket. ssize_t sendall(int sockfd, char *buf, size_t len); #endif // util_h_INCLUDED