Skip to content

socket.emit method will delay a little bit #1130

@caichunjian520

Description

@caichunjian520

I am working on an iOS drawing app that send each of the drawing point to server, or get the drawing point from server (real-time shared canvas). It works smoothly when get the point using socket.on. But when I use socket.emit to send each point to server, it will send about 0.1-0.3 seconds delay and the server will get a chunk of point at one time. This will cause something I don't want happen (other clients draw the point not smoothly).

I think maybe there are some configurations I didn't set when initialize the socket manager.

Anyone can help me solve the issue? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions