TCP Socket to Websocket?

后端 未结 3 1925
一生所求
一生所求 2021-02-20 06:07

There are plenty of websocket -> socket wrappers around there (like websockify) but is there an opposite available out there? Specifically, I want to be able to connect to a TCP

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 06:42

    I'm not entirely clear on what you're asking, but the WebSocket API applies mainly to the client side.

    How you code the server-side script and what language you use to do so is entirely up to you. When coding your server-side script, you should be able to choose whether to use a TCP socket or not, etc.

提交回复
热议问题