[Libwebsockets] polling for file descriptor i/o

Per Bothner per at bothner.com
Sun Feb 26 07:56:54 CET 2017


On 02/25/2017 12:11 AM, Andy Green wrote:

> The VFS changes I had in mind are now also done and pushed on master.

I updated DOmTerm to use the new API:

https://github.com/PerBothner/DomTerm/blob/master/lws-term/io.c

Note I used the LWS_FOP_FLAG_COMPR_ACCEPTABLE_GZIP macro to detect
whether the next API is needed.  This way I can build against either
the development libwebsockets or an older version (specifically the
system version, at least on Fedora).  I look forward to being able to remove
support for the old fops API.

-- 
	--Per Bothner
per at bothner.com   http://per.bothner.com/



More information about the Libwebsockets mailing list