[Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions
Sun Jan 21 02:58:26 CET 2007
> 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.
Yes, there are no reason to use read/write or something else, it's just
one arg more, plus if it doesn't exist just add macros to os_support.h
(along with the test for winsock).
closesocket is different in that close already exists and had a
More information about the ffmpeg-devel