Beispiel #1
0
 public Connection(TcpClient tcpClient)
 {
     UserData   = new UserData();
     TcpClient  = tcpClient;
     UserStream = tcpClient.GetStream();
 }
Beispiel #2
0
 public Connection(UserData userData, TcpClient tcpClient)
 {
     UserData   = userData;
     TcpClient  = tcpClient;
     UserStream = tcpClient.GetStream();
 }
Beispiel #3
0
 public Connection()
 {
     UserData   = new UserData();
     TcpClient  = null;
     UserStream = null;
 }