Easy to Program WebSocket Server

前端 未结 4 1117
面向向阳花
面向向阳花 2021-01-13 06:38

I\'m starting to read about websockets, but I can\'t find a good WebSocket server and easy to program some examples...

I\'m a complete beginner, and I don\'t need a

4条回答
  •  一整个雨季
    2021-01-13 07:14

    If you are wanting a WebSocket server written in JavaScript than I suggest you look at Socket.IO. It is very simple to use, and there is lots of documentation and examples that you can find online.

    If you wanting to play with a low-level WebSocket server and JavaScript is not a requirement, you might check out my python based websockify project. The websocket.py module is a generic WebSocket server framework. There are some simple examples of using it in the tests directory. Websockify itself is built on websocket.py to create a fairly sophisticated websocket to raw socket bridge/proxy.

提交回复
热议问题