示例#1
0
 void UpdateTCP()
 {
     if (TCPNet.IsConnect())
     {
         TCPNet.SendObject(tetstdata);
     }
 }
示例#2
0
 void TestTCP()
 {
     TCPNet.Init("127.0.0.1", 20240);
     TCPNet.ShowMsgLog(isShowDebug);
     //TCPNet.SetOutputDelgate(OutputEvent);
     TCPNet.Connect();
 }
示例#3
0
 override protected void OnDestroy()
 {
     sInstance = null;
     base.OnDestroy();
 }