[FFmpeg-devel] libossupport status

Rich Felker dalias
Sun Dec 23 11:51:51 CET 2007

On Sat, Dec 22, 2007 at 09:11:19PM +0100, Michael Niedermayer wrote:
> > For example on win32  close()  will not accepts socket handles  and 
> > select()  will not work on file handles, meaning
> If win32 supports closing sockets, there should be a function doing that,

The problem is whether it's always possible to tell, given a win32
pseudo-fd, whether it's a fd or a socket. Mingw is actually already
emulating fds on top of win32 HANDLE crap, renumbering them for
semi-posix-conformance, but sadly does not do the same for sockets. It
could (and should) be fixed to do so and unify them.

> that can then be used. If it supports the equivalent of select() on files

The equivalent of select on files is to always return true. RTFM
posix. :)


More information about the ffmpeg-devel mailing list