示例#1
0
 private void websocketclientToServer_OnDisconnected(object sender, nsoftware.IPWorksWS.WebsocketclientDisconnectedEventArgs e)
 {
     log.Info("Client Connected. ConnectionID: " + e.Description);
 }
示例#2
0
 private void websocketclient1_OnDisconnected(object sender, nsoftware.IPWorksWS.WebsocketclientDisconnectedEventArgs e)
 {
     bConnect.Enabled = true;
     bConnect.Text    = "Connect";
     tbEcho.AppendText("Disconnected.\r\n");
 }