Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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