![]() |
client.cppGo to the documentation of this file.00001 #include "ClientSocket.h" 00002 #include <SocketHandler.h> 00003 00004 00005 int main(int argc,char *argv[]) 00006 { 00007 if (argc > 1) 00008 { 00009 SocketHandler h; 00010 ClientSocket cc(h,argv[1]); 00011 cc.Open("127.0.0.1",40001); 00012 // Add after Open 00013 h.Add(&cc); 00014 h.Select(1,0); 00015 while (h.GetCount()) 00016 { 00017 h.Select(1,0); 00018 } 00019 } 00020 } 00021 00022 |