BVB Source Codes

uWebSockets Show echo.cpp Source code

Return Download uWebSockets: download echo.cpp Source code - Download uWebSockets Source code - Type:.cpp
  1. #include <uWS/uWS.h>
  2.  
  3. int main()
  4. {
  5.     uWS::Hub h;
  6.  
  7.     h.onMessage([](uWS::WebSocket<uWS::SERVER> *ws, char *message, size_t length, uWS::OpCode opCode) {
  8.         ws->send(message, length, opCode);
  9.     });
  10.  
  11.     h.listen(3000);
  12.     h.run();
  13. }
  14.  
downloadecho.cpp Source code - Download uWebSockets Source code
Related Source Codes/Software:
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
postal - 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11

 Back to top