Esempio n. 1
0
 private void onClickStartServer(object sender, EventArgs e)
 {
     button4.Enabled = false;
     button4.Text    = "Hosting Server";
     networkManager  = new PeerNetworking();
     networkManager.ListenForConnections(30000);
 }
Esempio n. 2
0
 private void onClickCreateServerListener(object sender, EventArgs e)
 {
     networkManager = new PeerNetworking();
     networkManager.ListenForConnections(4712);
 }