react-native-sockets icon indicating copy to clipboard operation
react-native-sockets copied to clipboard

Several clients/servers

Open brunovianna opened this issue 4 years ago • 2 comments

Is it possible to have several clients, each connected to a different server?

I see all clients are represented by the same Sockets object.

The same way, I wonder if when different clients connect to one server, is it possible to route messages individually.

Thanks for a very useful package anyway!

brunovianna avatar Jun 25 '20 15:06 brunovianna

Unfortunately not, the package only creates a single instance of the server or client and it would need to be updated to accommodation multiple connections.

davidstoneham avatar Aug 08 '20 02:08 davidstoneham

It is no problem, I can program another way, Thanks for your support.

brunovianna avatar Aug 10 '20 15:08 brunovianna