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