Sample Websocket
A Sample Websocket between Programming Languages for both Client and Server
Tools
WS Client Tool @ https://websocketking.com/
Websocket (ECHO @ ws://127.0.0.1:1609/echo)
WS Server
- Python (flask_sock, websockets)
- JavaScript
- Node JS (ws)
- C
- C++ (cpprestsdk)
- C#
- ...
WS Client
- Python (flask, websocket-client)
-
JavaScript - Node JS (ws)
- C
- C++ (cpprestsdk)
- C#
- ...
To-Do
- Add SSL Secure aka WSS
- Add broad-casting
- Add fully events for client and server
References
- https://github.com/facundofarias/awesome-websockets
- https://realtimeapi.io/hub/getting-started-realtime/
- https://www.fullstackpython.com/websockets.html
- https://viblo.asia/p/api-vs-websockets-vs-webhooks-what-to-choose-jvElam4xlkw
- https://thanhtablog.wordpress.com/2017/07/02/tim-hieu-ve-connection-keep-alive-header-trong-http/
- https://medium0.com/old-dev/m%E1%BB%99t-v%C3%A0i-li%C3%AAn-h%E1%BB%87-gi%E1%BB%AFa-web-apis-websocket-v%C3%A0-http-b4850804c1d0