project-navigation
Personal tools

Author Topic: Where to get networking libraries?  (Read 2773 times)

zetadin

  • Guest
Where to get networking libraries?
« 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?


Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Where to get networking libraries?
« Reply #1 on: February 24, 2008, 08:17:22 pm »
select windows as target - not linux or mac ;)

zetadin

  • Guest
Re: Where to get networking libraries?
« Reply #2 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.