[MPlayer-dev-eng] network code and read() and write()

Dan Christiansen danchr at daimi.au.dk
Sat May 24 02:32:00 CEST 2003


On Friday, May 23, 2003, at 09:16 PM, Arpi wrote:

> Hi,
>
>> We are currenlty trying to make network code work on mingw.
>> However most changes are to replace read with recv and write with 
>> send.
>> Afair those are available for other OSes, too?
>
> hmm, really, there is recv() undre linux too :)
> i've never seen it before... is it avail on those "idiot" OSs too like
> *BSD and solaris?

It's present on Darwin too, and since the man pages says it "appeared 
in 4.2BSD", I'd guess it's present on the other BSD's as well. I also 
have access to machines running IRIX 6.5 and SunOS 5.8, and both have 
man pages for recv and send.

>> Therefore would you prefere to have read and write replaced in 
>> network code
>> or do you want #ifdefed code?
>
> if it's avail everywhere then replace sounds better
>
>
> A'rpi / Astral & ESP-team
>
> --
> Developer of MPlayer G2, the Movie Framework for all - 
> http://www.MPlayerHQ.hu
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>

- Dan



More information about the MPlayer-dev-eng mailing list