コード例 #1
0
 /// <summary>
 /// the method to receive message from server.
 /// </summary>
 private void TcpClientReceiveLoopImp()
 {
     TcpReceiveLoopVisitor.Visit(this, this, this.stream, this.thread, this.socketConfig.BufferSize);
 }
コード例 #2
0
 /// <summary>
 /// received data from client.
 /// </summary>
 private void TcpServerConnectionReceiveLoopImp()
 {
     TcpReceiveLoopVisitor.Visit(this, this.server, this.stream, this.thread, this.server.SocketConfig.BufferSize);
 }