Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyr27/tcp-websocket-demo
Shows how to use websockets to communicate between C# and C++ applications
https://github.com/kyr27/tcp-websocket-demo
cpp20 cross-platform csharp multi-language websocket-client websocket-server websocket-sharp websocketpp websockets
Last synced: about 1 hour ago
JSON representation
Shows how to use websockets to communicate between C# and C++ applications
- Host: GitHub
- URL: https://github.com/kyr27/tcp-websocket-demo
- Owner: Kyr27
- Created: 2024-11-17T10:32:24.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-27T18:38:52.000Z (about 2 months ago)
- Last Synced: 2024-11-27T19:44:53.286Z (about 2 months ago)
- Topics: cpp20, cross-platform, csharp, multi-language, websocket-client, websocket-server, websocket-sharp, websocketpp, websockets
- Language: C++
- Homepage:
- Size: 1.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tcp-websocket-demo
This repository shows how to use websocket-sharp as a C# client, and websocketpp as a C++ server, all while (probably, not tested) staying cross-platform.
This method allows you to effectively communicate between two different applications that both use different languages.## Dependencies
The C# side uses [websocket-sharp](https://github.com/sta/websocket-sharp), so you might need to install that (you can get it via nuget package manager).
The C++ side relies on [asio](https://think-async.com/Asio/) and [websocketpp](https://github.com/zaphoyd/websocketpp), both of which are included already so no need to install anything