Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yang-rz/shared_communication
A C++ library to share communication between applications
https://github.com/yang-rz/shared_communication
Last synced: about 1 month ago
JSON representation
A C++ library to share communication between applications
- Host: GitHub
- URL: https://github.com/yang-rz/shared_communication
- Owner: Yang-RZ
- License: mit
- Created: 2024-04-04T17:15:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-04T17:18:56.000Z (9 months ago)
- Last Synced: 2024-04-04T18:35:02.867Z (9 months ago)
- Language: C++
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shared Communication Library
Provide a cross-platform C++ library that can create shared communication instances for different applications.
* To run the example:
1. Build the library
```bash
mkdir build && cd build/
cmake .. && cmake --build . --config Debug --target ALL_BUILD -j 18
```
2. Run ./build/Debug/test_server
3. Run ./build/Debug/test_client# multiple times up to 32.
4. 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.