T
T
tvsjke2016-05-24 10:55:48
C++ / C#
tvsjke, 2016-05-24 10:55:48

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

1 answer(s)
#
#algooptimize #bottize, 2016-05-24
@user004

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 question

Ask a Question

731 491 924 answers to any question