Logo Universitaet BremenTZI-Logo
 

libgensocket

libgensocket is a template-based C++ abstraction layer for BSD-style sockets. Besides class definitions for equal treatment of datagram and stream sockets (IPv6 and IPv4), the library provides a powerful mechanism for handling IPv6 and IPv4 transport addresses.

Projects using libgensocket

Several software projects already use libgensocket, most notably:

License

libgensocket was put under GPL to facilitate software development based on this code. The copyright statement reads as follows:

libgensocket is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

libgensocket is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with libgensocket; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Download

The latest stable version is 0.2.2. For other versions, you may check out the release directory at libgensocket.

Building

libgensocket is known to work on GNU Linux, with gcc 2.95.3 and gcc 3.3.2. The source distribution uses automake/autoconf together with libtool. Hence, if in the distribution's root directory, you can build the software by typing:

./configure
make
make install

If you obtained libgensocket as part of another distribution (e.g. those mentioned above), you can skip the installation step.