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 go
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 WSASta
Danny, Carsten, thanks for the responses...
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.
Calling WSAStartup also caused a segfault, in __MS_WSAStartup; like
select, it is also due t
Also - you cannot use select() on file handles. Only sockets.
Kind regards,
Carsten Sørensen
On Mon, Jun 16, 2008 at 17:15, Danny Backx <[EMAIL PROTECTED]> wrote:
> I believe you need to call WSAStartup before any winsock call. That's a
> difference between sockets on Unix (Linux, ..) and on Wind
I believe you need to call WSAStartup before any winsock call. That's a
difference between sockets on Unix (Linux, ..) and on Windows.
Danny
On Mon, 2008-06-16 at 22:21 +0900, Lance Fetters wrote:
> Target: Windows Mobile 6.0
> Compiler: cegcc (both 0.51.0 and SVN (updated 2008-06-14))
>
Target: Windows Mobile 6.0
Compiler: cegcc (both 0.51.0 and SVN (updated 2008-06-14))
I'm having issues getting select() to work on my target; note that I
have yet to try testing other targets.
When I tried to run the sample code included in the glibc man-page, I
found that it would segfault on t