#ifndef __NET_MODE_SOCKET_H__ #define __NET_MODE_SOCKET_H__ #include "usg_common.h" #include "shm_mod_socket.h" #include "socket_io.h" class NetModSocket { private: int clientfd; rio_t rio; public: NetModSocket(const char *host, int port); ssize_t send(void *buf, size_t size); ~NetModSocket(); }; #endif