SimpleSocket
0.1
Some wrappers that make using sockets easier in C++
|
From C++ the full POSIX and OS socket functions are available. These are very powerful, offer well known semantics, but are somewhat of a pain to use.
Various libraries have attempted to offer "C++ native" socket environments, but most of these offer different semantics that are less well known, or frankly, obvious.
This set of files offers the BSD/POSIX socket API relatively unadorned, with the original semantics, and fully interoperable with the usual system calls.
To find out more about Simple Sockets, please also consult its GitHub page.
Note that the 'raw' socket code below is just as reliable as the original socket API. In other words, it is recommended to use higher level functions.