Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

paradigm.cpp

Go to the documentation of this file.
00001 
00107 #include "sysconfig.h"
00108 #include "server.h"
00109 
00110 #if (__BORLANDC__ < 0x550)
00111 #include <condefs.h>
00112 USEUNIT("connection.cpp");
00113 USEUNIT("server.cpp");
00114 //---------------------------------------------------------------------------
00115 #endif
00116 
00117 
00118 //---------------------------------------------------------------------------
00119 #pragma argsused
00120 int main(int argc, char **argv) {
00121     WSADATA wsaData;
00122     int err = WSAStartup(0x202, &wsaData);
00123     if (err)
00124         cout << "Error-main(WSAStartup):" << err << endl;
00125     Server* chatserver = Server::Instance();
00126     if (chatserver->Boot(32000))
00127         chatserver->Run();
00128     chatserver->Destroy();
00129     WSACleanup();
00130     return 0;
00131 }
00132 

Generated on Mon Mar 29 22:38:41 2004 for Paradigm by doxygen1.2.17