[vlc-devel] vlc: svn commit r15392 (courmisch)

Subversion daemon svn at videolan.org
Fri Apr 28 14:22:25 CEST 2006


r15392 | courmisch | 2006-04-28 14:22:25 +0200 (Fri, 28 Apr 2006) | 11 lines
Changed paths:
   M /trunk/src/network/io.c

Hmm, damn stupid fd_set implementation by Winsock does of course not
work like any other one: it's actually thirty two times as big than the
POSIX ones for any given FD_SETSIZE, plus FD_SET and FD_ISSET are O(n)
instead of O(1). But at least, the mingw implementations of FD_SET has
built-in overflow checks.

Also, Winsock insists on returning big socket numbers, so we can't drop
those above FD_SETSIZE or we have no TCP/IP support at all, anyway.



-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list