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? 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 > > ------------------------------------------------------------------------- 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 Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel