Beispiel #1
0
 /// <summary>
 /// 服务器断开连接
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnServerDisContect_Click(object sender, RoutedEventArgs e)
 {
     UDPServer.Disconnect();
 }
Beispiel #2
0
 protected override void OnStop()
 {
     socketServer.Disconnect();
 }