[Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions

Ramiro Polla angustia
Sat Jan 20 21:38:03 CET 2007


Hello,

M?ns Rullg?rd wrote:
> ramiro at lisha.ufsc.br writes:
>
>   
>> Hello,
>>
>> While trying to enable networking on MinGW, now that Fran?ois has commited
>> his BeOS changes, I saw that ugly #ifdef around read/recv write/send.
>> Those same functions apply for Winsock, so I thought that, since the
>> closesocket change has already been made, we could make readsocket and
>> writesocket, as this patch proposes.
>>     
>
> Rejected.  Just use recv/send everywhere.
>
>   

Right... It makes more sense. *Untested* patch attached.

It makes me wonder. Why wasn't it like that in the first place?

Ramiro Polla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: socket_2.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070120/06d6a9a2/attachment.asc>



More information about the ffmpeg-devel mailing list