Skip to content

358 bytes payload takes almost double mobile traffic #2646

@radosi

Description

@radosi

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.
socket io
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions