示例#1
0
 public void SendData(byte[] data)
 {
     while (!IsConnected)
     {
         _autoResetEvent.WaitOne(10);
     }
     _dataSocket.End(_userToken.ID, data);
 }
示例#2
0
文件: HttpSocket.cs 项目: cskyr/SAEA
 public void End(IUserToken userToken, byte[] data)
 {
     _serverSokcet.End(userToken.ID, data);
 }