Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: AJEllisuk on April 15, 2010, 04:48:10 pm

Title: Berkeley Sockets library
Post by: AJEllisuk 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
Title: Re: Berkeley Sockets library
Post by: stahta01 on April 15, 2010, 06:25:31 pm
Try Cygwin under Windows.