public void Start() { this.Listener = new TcpListener(IPAddress.Loopback, this.Port); this.ListenThread = new Thread(new ThreadStart(listenForClients)); this.Repl = new CSharpRepl(); this.ListenThread.Start(); }
protected CSharpReplServer (bool isolated = true) { nmqContext = NetMQContext.Create (); repl = new CSharpRepl (isolated); cancellationTokenSource = new CancellationTokenSource (); }