This is an educational project, aim is to understand how to interact with POSIX (synchronous) socket APIs to implement a client-server architecture.
$ mkdir build
$ cd build
$ cmake ..
$ make
Requires C++14 compiler
Run server:
$ ./os-net-server <port>
Run client:
$ ./os-net-client <port>
Tested manually on macOS Mojave 10.14.3 and Linux 4.12.
Pavel Ponomarev, 2019 (pavponn@gmail.com)
MIT License.