Пример #1
0
 public async Task OnServerDisconnected(AsyncTcpSocketClient client)
 {
     if (_onServerDisconnected != null)
     {
         await _onServerDisconnected(client);
     }
 }
Пример #2
0
 public async Task OnServerDataReceived(AsyncTcpSocketClient client, byte[] data, int offset, int count)
 {
     if (_onServerDataReceived != null)
     {
         await _onServerDataReceived(client, data, offset, count);
     }
 }