A blocking operation was interrupted by a call to WSACancelBlockingCall

jorge

Well-known member
Joined
Jul 13, 2003
Messages
239
Location
Belgium
Hello me agen :(,
I my class now gives:
A blocking operation was interrupted by a call to WSACancelBlockingCall
as error, but i dont know what it is and how to avoid it,
does anyone have a id what it is?
check msdn lib 2003 but didnt seem to find anything :confused:
 
Code:
Do While tServer_Pool.ThreadState = ThreadState.Running Or tServer_Pool.ThreadState = ThreadState.Background
Client = ServerListener.AcceptTcpClient()
ThreadPool.QueueUserWorkItem(New WaitCallback(AddressOf Server_Worker))
Loop
i have this code in a thread, wich at some point need to be suspended becouse im stopping the server.
but when i resume the thread later on i get WSACancelBlockingCall@:
Code:
Client = ServerListener.AcceptTcpClient()
and then the application hangs.
 
Back
Top