예제 #1
0
 public TcpStream(TcpConnection tcpConnection)
 {
     _tcpConnection                       = tcpConnection;
     _streamSourceToDestination           = new TcpMonoStream();
     _streamSourceToDestination.WriteData = WriteDataSourceToDestination;
     _streamDestinationToSource           = new TcpMonoStream();
     _streamDestinationToSource.WriteData = WriteDataDestinationToSource;
 }
예제 #2
0
파일: TcpStream.cs 프로젝트: labeuze/source
 public TcpStream(TcpConnection tcpConnection)
 {
     _tcpConnection = tcpConnection;
     _streamSourceToDestination = new TcpMonoStream();
     _streamSourceToDestination.WriteData = WriteDataSourceToDestination;
     _streamDestinationToSource = new TcpMonoStream();
     _streamDestinationToSource.WriteData = WriteDataDestinationToSource;
 }