Ejemplo n.º 1
0
 private void Start() {
     var server = Connection.InitServer( Connection.PORT_I );
     Console.WriteLine( "Waiting for Connections..." );
     foreach ( var cl in Connection.ListenTcp( server ) ) {
         Console.WriteLine( "Got an Connection..." );
         new Thread( () => ManageClient( cl ) ).Start();
     }
 }