[vlc-devel] fix telnet interface on windows

Hannes Domani ssbssa at yahoo.de
Wed Jul 15 20:57:05 CEST 2015


If I don't do the WSAEventSelect(fds[i].fd, evts[i], 0), then the later accept() always fail with WSAENOTSOCK (10038).

I've changed the logic of is_flag_set() to a binary-and operation.
This is necessary because recently poll() returns POLLRDNORM instead of POLLIN on windows, and the old logic always returns false.
There probably is a better way to fix this, my lua-fu is not so good.

Domani Hannes

More information about the vlc-devel mailing list