Skip to content

Ping Pong mechanism - Socket.io V4 #3854

Answered by darrachequesne
motawy asked this question in Q&A
Discussion options

You must be logged in to vote

In order to clarify: the heartbeat mechanism was indeed reversed between Socket.IO v2 (including Engine.IO v3) and Socket.IO v3 (including Engine.IO v4).

There was no change between Socket.IO v3 (including Engine.IO v4) and Socket.IO v4 (including Engine.IO v5) though.

user1 client v3 would connect to the server and the server would print 'ping' consistently for user1
user2 client v3 would connect to the server and the server would print 'pong' consistently for user2

This should not happen. Are you able to reproduce consistently?

Could it be linked to socketio/engine.io@ff2b8ab?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by darrachequesne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants