#ifndef DISTRIB_H #define DISTRIB_H DISTRIB_H #include #include class distrib { public: int readHostFile(const char * filename); int connect(); int startServer(); protected: int connect(const std::string & host); std::vector m_hosts; std::vector m_children; std::string m_servername; int m_serverport; int m_listen_socket; }; #endif