[vlc-devel] fix telnet interface on windows

Jean-Baptiste Kempf jb at videolan.org
Thu Jul 16 10:41:33 CEST 2015


On 15 Jul, Hannes Domani wrote :
> If I don't do the WSAEventSelect(fds[i].fd, evts[i], 0), then the later accept() always fail with WSAENOTSOCK (10038).

Only Rémi can ACK that one.

> 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.

Seems a bit convoluted, but seems OK.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list