Snap7
32/64 bit multi-platform Ethernet S7 PLC communication suite
... server example is not bigger than the “Hello world”.
Many projects/makefiles are ready to run to easily rebuild Snap7 in any platform without the need of be a C++ guru.
Very detailed documentation provided.