news News
software Software
+ emacs configuration
+ latex templates
+ libdatamining
+ otp-wrapper
+ libneuralnet
+ libsocket
+ cross compilation
+ usefull C++ libs
people People
about About
cvs Documentation
Designed by

Valid XHTML 1.1

Generic C++ socket library


Happycoders socket C++ library implements portable socket abstraction for all OS. It provides an abstraction for UDP/TCP sockets, for client and server in IPv4 and IPV6. It includes local socket suport for Unix and Linux system. A full tests suite is included to check library functions. This library is released under the term of the GNU LGPL licence.


libsocket has been tested and found to work ok under :
  • GNU/Linux (gcc 2.95 and 3.x)
  • NetBSD
  • OpenBSD
  • FreeBSD
  • Solaris
  • Cygwin
  • Windows native with mingw32
  • Windows native with MSVC 6.0


There is different way to include libsocket in your projects :
  • get the last release : libsocket-1.8.tar.gz
  • Use libsocket linked with your project (not as a shared library), you just have to include the files in your project.

  • get the debian packages : happycoders-libsocket and happycoders-libsocket-dev add this line to /etc/apt/sources.list for debian unstable:
        deb ./
    or add this line to /etc/apt/sources.list for debian stable:
        deb ./

Doxygen Documentation

Doxygen documentation is available here .
(c) 2002-2016 Happycoders