codedweller
Home • Networking

Networking

networking.hpp, networking.inline.hpp, networking.cpp

Networking is a cross platform collection of TCP (and eventually UDP) communications primitives. Uses sockets (or winsock2). This module is designed to be a very lightweight (thin) abstraction of the most common TCP (and eventually UDP) ip4 sockets.

A key advantage of this library is that it abstracts the differences between sockets in a GNU environment and sockets (winsock2) in a Win* environment.

Future plans are to complete the UDP implementation, provide a mechanism for integrating openSSL, and providing other IPC facilities using the same primitives.

Additional layers are also planned to further abstract the basic Socket operations and allow a higher level communications interface for sending and receiving common message types, creating "servers", and automating self organizing transports over TCP/IP.