Exemple #1
0
 public TcpChatClient(TcpClient tcpClient, TcpChatServer chatServer) : base(chatServer)
 {
     this.tcpClient  = tcpClient;
     this.chatServer = chatServer;
     chatServer.AddConnection(this);
 }
Exemple #2
0
 public ChatClient(ChatServer chatServer)
 {
     LoginedAs       = "";
     this.chatServer = chatServer;
 }