예제 #1
0
 public Task <int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 {
     ChannelManager.Current.Refresh(_clientSocket.Endpoint);
     return(_clientSocket.ReceiveAsync(buffer, offset, count, cancellationToken));
 }
예제 #2
0
 public Task <int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 {
     return(_clientSocket.ReceiveAsync(buffer, offset, count, cancellationToken));
 }