Provide a cross-platform C++ library that can create shared communication instances for different applications.
- To run the example:
- Build the library
mkdir build && cd build/ cmake .. && cmake --build . --config Debug --target ALL_BUILD -j 18
- Run ./build/Debug/test_server
- Run ./build/Debug/test_client# multiple times up to 32.
- You'll see the clients connect to the server with the same socket while the first client will own the socket. After it closes the connection, the socket will be transferred to the other clients.