emit is not working when first client connect on connection handler from socket server. #1137
Unanswered
neerajdlh74
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Which emit is not working? You have two, one on each side. Also, please include a working and non-working log session so that we can see where the emit is missing. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my code, i need to emit in the connection handler which is not working for first client and when I am connecting the second client it is start to work.
I checked many time, when I am starting the server and connecting the very first client that first emit from server's connect handler is not working.
below is the code i have removed all the remaining logic for quick reading.
server.py file is to run the gevent socket server:
client.py file to connect the client to the socket.
this are the logs from client side. i have connected with 2 clients.. but receiving the packet from server only once as highlighted.
below are the logs from server.py side.
Beta Was this translation helpful? Give feedback.
All reactions