// internet_server.h #include "internet.h" class internet_server: public internet { protected: int port_number; int server_socket; int session_socket; int session_number; static int session_count=0; char client_name[100]; char templine[500]; void make_socket_connected_to_random_port(void); static void server_subprocess_reaper(void); static void received_halt_signal(void); public: internet_server(void); void waitforuser(void); int getSessionNumber(void); char *getClientName(void); void disconnect(void); };