Esempio n. 1
0
        private void OnBrowseRequestFinished(IAsyncResult asyncResult)
        {
            SsdpSocket socket = (SsdpSocket)asyncResult.AsyncState;

            socket.EndSendTo(asyncResult);

            AsyncReadResult(socket);
        }
Esempio n. 2
0
        private void OnByeBye(IAsyncResult asyncResult)
        {
            SsdpSocket socket = (SsdpSocket)asyncResult.AsyncState;

            try {
                socket.EndSendTo(asyncResult);
            } catch {
            }
            started = false;
        }
Esempio n. 3
0
        private void OnFinished(IAsyncResult asyncResult)
        {
            SsdpSocket socket = (SsdpSocket)asyncResult.AsyncState;

            socket.EndSendTo(asyncResult);
        }