A
Alexander Muylaert
Hi
I their a way I can interupt socket.Receive.
I want my multi-threader server to be able to handle requests as wel as
Broadcast messages. This broadcasting is done when the socket is not
handling a request.
How can I do something like this
ManualResetEvent OutgoingRequest;
WaitHandle.WaitAny(new WaitHandle[]{Socket.IncomingData, OutgoingRequest})
Anybody has a tip for this? In Win32 this was fairly simple since
Overlapped IO contained an event anyway.
How do I do this in .net?
Kind regards
Alexander
I their a way I can interupt socket.Receive.
I want my multi-threader server to be able to handle requests as wel as
Broadcast messages. This broadcasting is done when the socket is not
handling a request.
How can I do something like this
ManualResetEvent OutgoingRequest;
WaitHandle.WaitAny(new WaitHandle[]{Socket.IncomingData, OutgoingRequest})
Anybody has a tip for this? In Win32 this was fairly simple since
Overlapped IO contained an event anyway.
How do I do this in .net?
Kind regards
Alexander