Esempio n. 1
0
 public void server_onClientConnect(object o, onClientConnectEventArgs e)
 {
     Server_Log("New client connected Remote IP Address: " + MiscFunctions.SplitString(e.RemoteIP, ':', 0) + "\tGUID: " + e.GUID.ToString() + "\tNickname: " + e.Nickname);
     label4.Text = "Connected clients: " + e.Connections.ToString();
     comboBox2.Items.Add(e.Nickname);
 }
Esempio n. 2
0
 public void server_onClientConnect(object o, onClientConnectEventArgs e)
 {
     Server_Log("New client connected Remote IP Address: " + MiscFunctions.SplitString(e.RemoteIP, ':', 0) + "\tGUID: " + e.GUID.ToString() + "\tNickname: " + e.Nickname);
     label4.Text = "Connected clients: " + e.Connections.ToString();
     comboBox2.Items.Add(e.Nickname);
 }