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