[FFmpeg-devel] MinGW network support

Alex Beregszaszi alex
Mon May 21 17:21:35 CEST 2007


> > Without this hack, ffserver is not working. Can you give me an
> > explanation why does Winsock returns socket numbers like 1754 and 1800?
> > Can I influence this to return normal socket numbers starting from 3 ?
> > 
> I would venture the guess these are actual port numbers. It seems 

Yes, it is likely a port number.

> unlikely you can force socket() to return 'normal' values, because it is 
> rather clear from the winsock documentation that sockets are *NOT* 
> 'files' but entities with their own API.

However, then why don't they implement select() working with this idea?
It does not work right with such socket numbers.

Alex Beregszaszi

More information about the ffmpeg-devel mailing list