[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

breaking out of a blocking call (socket.Receive())

Sergey Chemishkian

7/16/2002 9:27:00 PM

When using System.Net.Socket class to recieve
inasynchronous (socket.BeginReceive) or synchronous
(socket.Receive) fashion, UDP datagrams only, how can I
break out of the blocked call? My application hangs on
exit, socket.Close() or socket.Shutdown() seem to give
inconsistent results.