Esempio n. 1
0
		private void Listen ()
		{
			while (true) {
				Socket socket = debugServer.AcceptSocket ();
				DebugSession session = new DebugSession (virtualMachine, socket);
				Thread thread = new Thread (() => {
					session.Connect ();
				});
				thread.Start ();
			}
		}
Esempio n. 2
0
 private void Listen()
 {
     while (true)
     {
         Socket       socket  = debugServer.AcceptSocket();
         DebugSession session = new DebugSession(virtualMachine, socket);
         Thread       thread  = new Thread(() => {
             session.Connect();
         });
         thread.Start();
     }
 }