[Libwebsockets] polling for file descriptor i/o

Per Bothner per at bothner.com
Thu Mar 2 18:00:24 CET 2017

I got it working, except for close/eof-handling, with the
attached patch.  What do you think?

Question: In a LWS_CALLBACK_SERVER_WRITEABLE callback, is it safe
to make multiple lws_write calls, or should I make just a single call?
(This pertains to how I send an "eof message".)
	--Per Bothner
per at bothner.com   http://per.bothner.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adopt.patch
Type: text/x-patch
Size: 2350 bytes
Desc: not available
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20170302/0a33c901/attachment-0002.bin>

More information about the Libwebsockets mailing list