public Client_Model2()
 {
     _netconfig = new NetPeerConfiguration("SkyNet");
     _client = new NetClient(_netconfig);
     _assembly = new SuperAssembly("Client");
     _listen=new Thread(Listen);
 }
 public Server_Model2()
 {
     _netconfig = new NetPeerConfiguration("SkyNet") { Port = 9000 };
     _server = new NetServer(_netconfig);
     _assembly = new SuperAssembly("Server");
     _thread = new Thread(Thread);
 }
Beispiel #3
0
 public Client()
 {
     _client = new NetClient(Config.NetConfigClient);
     _assembly = new SuperAssembly("Client");
     _client.Start();
 }