Socket.io: Can Socket.io client connect WSS Server?

Created on 18 Jun 2017  ·  4Comments  ·  Source: socketio/socket.io

My Question is can i use socket.io build a winsform and connect wss server
like "WSS://123.456:8551"?

Most helpful comment

Although socket.io supports websockets internally as one of several transports, Socket.io clients cannot directly connect to a web socket server. Socket.io clients can only connect to a socket.io server.

All 4 comments

Although socket.io supports websockets internally as one of several transports, Socket.io clients cannot directly connect to a web socket server. Socket.io clients can only connect to a socket.io server.

thanks for response -@LordMajestros
i been search for long time ,and i found this one EngineIoClientDotNet
but i not sure it's work,cos i don't know how to build the Server,...Anyway ,.thanks again

I guess by "Server" you mean the test server from the project. (https://github.com/Quobject/EngineIoClientDotNet/tree/master/TestServer) It is written in javascript (node.js), so to run it,

  1. you have to install node.js
  2. open a command prompt, and cd into the server's folder
  3. type:
    npm install
  4. then run the server by this command:
    node server.js

thanks for response- @sirudog
You've got a big help.
and it's work

Was this page helpful?
0 / 5 - 0 ratings