[hatari-devel] Sockets on Windows

Thomas Huth th.huth at gmx.de
Sat Jan 24 14:45:01 CET 2009


On Sat, 24 Jan 2009 13:31:15 +0200
Eero Tamminen <eerot at users.berlios.de> wrote:

> On Saturday 24 January 2009, hatari-tracking at lists.berlios.de wrote:
> > select() requires extra header and libws2_32 on MinGW
> ...
> > +++ b/src/file.c      Sat Jan 24 01:53:57 2009 +0100
> > @@ -23,6 +23,10 @@
> >  #include <strings.h>
> >  #endif
> >
> > +#ifdef WIN32
> > +#include <winsock2.h>
> > +#endif
> > +
> 
> Would winsock2.h have also socket(), connect(), open(), close() and
> read() functions required by control.c?

I don't know, I just googled how to get select() working on MinGW...

 Thomas



More information about the hatari-devel mailing list