コード例 #1
0
ファイル: Form1.cs プロジェクト: thebillkidy/6TEE_GIP_SOCKET
 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);
 }
コード例 #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);
 }