socket

This is a lightweight, cross platform TCP/IP sockets interface written in c++.

Example

	//Client app
	ClientSocket client("localhost",5555);
	int i = 42;
	client << i;

	//Server app
	ServerSocket server(5555);
	AcceptedSocket a(server);
	int i;
	a >> i;
	cout << i;

It doesn't provide everything that the raw socket API does, but it has proven sufficient to support the development of a fully featured suite of dicom utilities and servers.

download

Download the library here:
socket.zip
or here:
socket.tar.gz

Documentation

Can be viewed online here

License

The library is licensed under the GNU GPL
Make sure you understand the implications of this license before using this software