Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Socket.io client connect WSS Server? #2981

Closed
Elliot9 opened this issue Jun 18, 2017 · 4 comments
Closed

Can Socket.io client connect WSS Server? #2981

Elliot9 opened this issue Jun 18, 2017 · 4 comments

Comments

@Elliot9
Copy link

Elliot9 commented Jun 18, 2017

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

@LordMajestros
Copy link

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.

@Elliot9
Copy link
Author

Elliot9 commented Jun 18, 2017

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

@sirudog
Copy link

sirudog commented Jun 18, 2017

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

@Elliot9
Copy link
Author

Elliot9 commented Jun 19, 2017

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

@Elliot9 Elliot9 closed this as completed Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants