-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
358 bytes payload takes almost double mobile traffic #2646
Comments
nobody can't help ? |
http://tavendo.com/blog/post/dissecting-websocket-overhead/ - this may give me some light on the websocket transport scheme :( |
Please see socketio/socket.io-parser#61 |
@radosi since version 2.0.0 you can now provide your own parser: Please take a look at:
Related: #2938 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I developed node.js server based on socket.io 1.4 and mobile application working absolutely flawless with it. The app send binary array with length around 360 bytes every second. Recently I found that mobile traffic is abnormally high and after sniff the traffic I found this.
As a respond from server I send 1-4 bytes payload as a reply to application.
Whye there are here all 5 packets instead of 2 (for send and reply) and why so many extra data is sent ? (I tried to find some documentation about the protocol nut no luck) Can I configure something in order to remove extra data or I have to migrate to native socket communication between app and server to save mobile data.
some details : socket server is running on 8080 port, the payload package is in first packet and are masked, the program that I used for screenshot is wireshark.
The text was updated successfully, but these errors were encountered: