Well, "MHD_get_fdset()" is by design suitable for select(). You _can_
convert the result to an input for poll(), but that is painful. If
epoll() is supported on your system, you may want to use the
MHD_DAEMON_INFO_EPOLL_FD to get an epoll-FD from MHD and throw that into
poll() _or_ epoll().

On 7/1/20 10:09 PM, Anaswara Nair wrote:
> Hi,
> 
> Is it mandatory that there should be a select() if we are using
> MHD_get_fdset() and MHD_run()? What if we want to use poll? One more
> doubt is if we use USE_EPOLL_LINUX_ONLY flag, will it create internal
> mhd thread? As the documentation tella that it is not supported by ll
> linux versions, do we have a list in which it will not fail.. 

Attachment: 0x939E6BE1E29FC3CC.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to