Displaced response when send two different request #722
Replies: 5 comments
-
What do you mean here? Does the JavaScript Socket.IO client support rooms? This is a server feature, not a client feature. |
Beta Was this translation helpful? Give feedback.
-
jisses!! I have just one client connected to my server. In my client, I have many functions and my functions have a timeout c a response. When I send two requests to two different functions, returning values are displaced. Please give me a solution. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, but you need to make an effort to explain the situation better. You said:
This does not make sense. You would be sending requests to the server, not to the client. What do you mean by functions here? Why don't you create a small example application that shows the problem? That will help me understand your problem. |
Beta Was this translation helpful? Give feedback.
-
Client:
Server:
When I start example:
|
Beta Was this translation helpful? Give feedback.
-
This isn't a complete example. There is nothing that calls your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a nodejs server and I want to connect to my python client. When the client sends a request to a specific URL, nodejs sends data to the python client and python sends a response back to nodejs. I use socketio for nodejs server and python socketio for python client. Unfortunately, the python-socketio client doesn't support rooms. Then when I send two requests with different data, responses are displaced. I'm trying to find a way to solve this problem. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions