/[cvs]/api/Classes/Examples/NetWork/ServerTest.cpp
ViewVC logotype

Annotation of /api/Classes/Examples/NetWork/ServerTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Jul 1 20:47:58 2001 UTC (23 years ago) by bearsoft
Branch point for: lazy, MAIN
Initial revision

1 bearsoft 1.1 #include "ServerTest.h"
2     #include "../../String/String.h"
3     #include "../../String/StringInput.h"
4     #include "../../System/System.h"
5     #include "../../NetWork/Server.h"
6     #include "../../System/SystemDefine.h"
7    
8     ServerTest::ServerTest(){}
9     ServerTest::~ServerTest(){}
10    
11     void ServerTest::run()
12     {
13     Server *server=new Server();
14    
15     //Set up the server
16    
17     server->start();
18    
19     // Call the main example routine.
20     server->DoWinsock();
21    
22     // WSACleanup();
23    
24    
25     delete server;
26    
27     // Shut Winsock back down and take off.
28    
29    
30     }

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26