public LogConnection(TcpClient client, DebugWriter debug, ConnectionTracker connectionTracker, Natter natter) { this.client = client; this.debug = debug; this.connectionTracker = connectionTracker; this.natter = natter; stream = client.GetStream(); }
public void Start() { connectionTracker = (ConnectionTracker)services["connectionTracker"]; natter = (Natter)services["natter"]; logServer.Start(); debug.Log(0, "LogPort = " + ((IPEndPoint)logServer.LocalEndpoint).Port); logServer.BeginAcceptTcpClient(NewLogConnection, null); }