Skip to content

Performance difference between client-to-server and server-to client #1187

Answered by zhouliguo
zhouliguo asked this question in Q&A
Discussion options

You must be logged in to vote

I changed the

@sioc.event
def send_frame()

to

sio.on('send_frame')
def send_frame()

in the 'Client-to-Server Client' file, the performance becomes normal. I don't know what's the difference between the two. Is this a bug?

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@miguelgrinberg
Comment options

@zhouliguo
Comment options

@miguelgrinberg
Comment options

@zhouliguo
Comment options

Answer selected by zhouliguo
@miguelgrinberg
Comment options

@zhouliguo
Comment options

@miguelgrinberg
Comment options

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