[MPlayer-cygwin] Shoutcast in mingw problem

Sascha Sommer saschasommer at freenet.de
Sat Jul 23 17:47:05 CEST 2005


On Saturday 23 July 2005 17:34, Reimar Döffinger wrote:
> Hi,
>
> On Sat, Jul 23, 2005 at 05:22:26PM +0200, Sascha Sommer wrote:
> > On Saturday 23 July 2005 17:04, Reimar Döffinger wrote:
> > > Well, I have to say I had problems with that URL even when using wget
> > > (simply closed the connections sometimes).
> > > But please try to replace the read in libmpdemux/http.c, line 60 with
> > > revc, maybe MinGWs socket implementation is not quite as transparent...
> >
> > Afair there is no read at all and we #define read to recv somewhere.
>
> No I don't think so (grep didn't show anything like that). Anyway, try
> latest CVS, I fixed a few things (also changed read to recv, since
> that's what all the other networking code uses), maybe it works now.
>

Hm, just checked cvslog and it seems like all reads have been replaced with 
recvs when we ported the networking, because read only works for files on 
mingw. The #define must have been in some earlier patch. I think such things 
should get document somewhere, but where?

Sascha




More information about the MPlayer-cygwin mailing list