Beispiel #1
0
 private void StartReceive()
 {
     try {
         var state = new SocketStateObject {
             udpClient = this._udpClient, endPoint = this._endPoint
         };
         _udpClient.BeginReceive(new AsyncCallback(ReceiveCallback), state);
     } catch (Exception e) {
         Debugger.Log(e.ToString());
     }
 }