UFO:Alien Invasion

Development => Coding => Topic started by: zetadin on February 24, 2008, 07:28:36 pm

Title: Where to get networking libraries?
Post by: zetadin on February 24, 2008, 07:28:36 pm
I'm trying to compile the svn vesrion of the source code under XP using CodeBlocks, as advised on the wiki.
However, I lack the following networking header files and their libraries:

sys/select.h
sys/socket.h
netdb.h
arpa/inet.h
netinet/in.h

All of these are included from common\net.c.

Does anyone know where I can get them and the headers that they rely on in one packege instead of googling them one by one?

Title: Re: Where to get networking libraries?
Post by: Mattn on February 24, 2008, 08:17:22 pm
select windows as target - not linux or mac ;)
Title: Re: Where to get networking libraries?
Post by: zetadin on February 24, 2008, 09:22:26 pm
Thanks. I didn't see the #else stating that the declarations wre for non win32. I just hooded up libwsock32.a to the linker and now it works. Thanks again.