public void Start() { TcpListener listener = new TcpListener(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 4000)); listener.Start(); while (_acceptNewConnections) { TcpClient client = listener.AcceptTcpClient(); MudSession session = new MudSession(client); } }