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't connect to a socket.io server written in Python #23

Open
tgogos opened this issue Oct 11, 2017 · 1 comment
Open

Can't connect to a socket.io server written in Python #23

tgogos opened this issue Oct 11, 2017 · 1 comment

Comments

@tgogos
Copy link

tgogos commented Oct 11, 2017

The problem together with the code samples can be found here: socket.io client using Go and for the next few days there is an open bounty worth +100 reputation.

My question is if golang-socketio implements the following steps to establish a connection.

From: Engine.IO Protocol

Anatomy of an Engine.IO session

  1. Transport establishes a connection to the Engine.IO URL .
  2. Server responds with an open packet with JSON-encoded handshake data:
  • sid session id (String)
  • upgrades possible transport upgrades (Array of String)
  • pingTimeout server configured ping timeout, used for the client
    to detect that the server is unresponsive (Number)
  • pingInterval server configured ping interval, used for the client
    to detect that the server is unresponsive (Number)
  1. Server must respond to periodic ping packets sent by the client
    with pong packets.
  2. Client and server can exchange message packets at will.
  3. Polling transports can send a close packet to close the socket, since
    they're expected to be "opening" and "closing" all the time.
@towhidzei
Copy link

i have same problem

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

2 participants