How to emit from one connection to another #847
Unanswered
datonefaridze
asked this question in
Q&A
Replies: 1 comment 10 replies
-
What do you mean by "connection" here? A client or a server? Assuming these are clients, you cannot emit from one client to another, that is not how the Socket.IO protocol works. Clients can only emit to the server, so the way you do this is by having client A send the data to the server, which then in turn relays it to client B. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have 2 connections (kind like a middlware), i want to receive data from one connection and send it to another, it seems that code fails in this case. my code:
and sio is one connection, and sio_featuze is another connection.
Beta Was this translation helpful? Give feedback.
All reactions