private void AsyncCompleted(IAsyncResult ar) { UdpClient udpService = (UdpClient)ar.AsyncState; udpService.EndSend(ar); _waitHandle.Set(); }