Author Topic: Berkeley Sockets library  (Read 6995 times)

Offline AJEllisuk

  • Single posting newcomer
  • *
  • Posts: 2
Berkeley Sockets library
« on: April 15, 2010, 04:48:10 pm »
Hi,

I have a project where I need to make use of a sockets library.

I have spen a lot of time searching google for the Berkeley sockets library, and in particular a build which is suitable for Code:Blocks.

I'm aware that MinGW has the hearder files winsock.h and winsock2.h, but I also need the following header files:

  #include <netinet/in.h>
  #include <arpa/inet.h>

Can someone please advise me on where to obtain a build of sockets library suitable for Code:Blocks, for both Windows, and Debian Systems.

Thanks in advance

Andrew Ellis

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: Berkeley Sockets library
« Reply #1 on: April 15, 2010, 06:25:31 pm »
Try Cygwin under Windows.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org