public ClientHandler(Clientele clientele, TcpClient tcpClient) { _clientele = clientele; _tcpClient = tcpClient; serverThread = new Thread(HandleClientRecevier); serverThread.Start(); }
public ServerListener(IPAddress ipAddress, int portAddress) : base(ipAddress, portAddress) { this.IpAddress = ipAddress; this.PortAddress = portAddress; this._currentClients = new Clientele(Environment.CurrentDirectory + "\\userinfo.dat"); ConsoleBuffer.PrintLine("Server started on socket: " + ipAddress + ":" + portAddress); }