Answer the question
In order to leave comments, you need to log in
How to unblock a thread blocked by socket.receive?
I am writing under WinCE, receive and send timeouts are not supported. Run a timer in a separate thread? I have no idea how this should work... If it's not difficult, give a simple code example, or at least indicate which way to look.
Answer the question
In order to leave comments, you need to log in
If this is a limitation of the framework, and not Windows, then you can make your own wrapper or stupidly start reading in another thread and terminate the connection through the timer, if there is one) In any case, you need to find or write your own beginread
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question