예제 #1
0
 public NetStrategy(IPAddress address, int port, string dllpath, bool connectNow)
 {
     DllPath = dllpath;
     Conn    = new UDPConnectionHandle(address, port);
     if (connectNow)
     {
         Conn.Connect(5, 400);
         SendLoad();
     }
 }