I recently read through the Socket.BeginAccept() - MSDN article to find out, how to properly cancel this operation if it, for example, has timed out. This article says, I need to call Close()
on the socket to cancel this operation, but when I call this, I cannot accept other Connections anymore. I want to cancel only the Accept-Operation which timed out. I do not want to close the whole socket to cancel all andalso future BeginAccept()
calls.
Is there another way to cancel a single Accept operation?
Best regards