I setup and launch the chat server example at here Chat server example.
And I can enter login and connect and send message using the broswer and the java socket.io client.
But I can't login to the chat server using python socketio-client.
Below is the python client code:
$ cat client.py, the port is change to 3001, original is 3000
I setup and launch the chat server example at here Chat server example. And I can enter login and connect and send message using the broswer and the java socket.io client.
But I can't login to the chat server using python socketio-client. Below is the python client code: $ cat client.py, the port is change to 3001, original is 3000
Below is the log when run it:
And at the node chat server, I add the DEBUG=* to view the logs, when the python client test program run, the server outputs following:
As comparison, when the other socket.io client(eg: from web browser, http://localhost:3001) login the server output followings:
Is there any example to use the python socket.io client with chat example server? Or any wrong with my test code? Or Can someone give a hint to debug?