[Libwebsockets] Clarification about libwebsocket_service and timeouts

Drew Noakes drew at drewnoakes.com
Sat Feb 2 15:12:19 CET 2013

On test-server.c line 617 a comment suggests that libwebsocket_service
returns immediately if no sockets require servicing, despite a timeout of
50ms being supplied. This seems to disagree with the API documentation.

Also, in the case of using a timeout and there being work to service, will
the function return in less time than the timeout specifies? This isn't
clear to me from the documentation.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20130202/d0343a81/attachment.html>

More information about the Libwebsockets mailing list