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