[En-Nut-Discussion] NutTcpAccept() timeout

Don Ingram don at led.com.au
Thu Jul 6 08:26:20 CEST 2006


Hi All,

NutTcpAccept() as per docs is a blocking call.

What is considered to be the elegant means of breaking out of the call?


I have a timeout set for once the link is established but I would like to be 
able to determine the difference between:

* thread blocked waiting for NutTcpAccept()
* thread dead...

The async threads timeout & loop giving the opportunity to update a thread 
activity counter, holding off the watchdog from being activated.

Any ideas to keep the noob on track?

-- 
Cheers

Don



More information about the En-Nut-Discussion mailing list