On Tue, 2008-06-17 at 08:54 +0100, Hywel B. Richards wrote:
> Do you really need to call WSAStartup when you are using cegcc (of the
> non-mingw variety)?
>
> Wouldn't the POSIX compatibility provided by newlib do this for you?
Hmm, apparently it does. I didn't know that.
Does anyone know how good this stuff
(src/newlib/newlib/libc/sys/wince/msnet.c) is at hiding the differences
between winsock and unix sockets ?
Danny
> I ask with interest as I also want to do some networking stuff soon. I
> was assuming that if I used cegcc-mingw then I would need WSAStartup,
> but not if I used the non-mingw version.
>
> Hywel.
>
>
> Danny Backx wrote:
> > I believe you need to call WSAStartup before any winsock call. That's a
> > difference between sockets on Unix (Linux, ..) and on Windows.
> >
> > Danny
> >
> >
>
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel