00001 /* 00002 * $Id: Server.h,v 1.3 2002/07/15 04:27:41 virtualcasino Exp $ 00003 */ 00004 00005 #ifndef __VCASINO_SERVER_H__ 00006 #define __VCASINO_SERVER_H__ 00007 #include<clawsoft.h> 00008 #include<Client.h> 00009 using namespace clawsoft; 00010 00013 class Server:public ServerSocket{ 00014 protected: 00015 static SharedVar<int> stayUp; 00016 public: 00017 Server(int port); 00018 static void takeDown(); 00019 bool init(); 00020 int start(int argc, char *argv[]); 00021 bool cleanup(); 00022 }; 00023 00024 00025 #endif
Powered by: