How to make two tcp servers that exchange data?
I would like to create a procedure in B4J that allows two external clients to connect as tcp clients, and to exchange information
In the sense that I would like every character sent by client1 to be read by client2
I find many examples to activate a single tcp server capable of accepting connections from the outside
But two different tcp server, ones responding on port 1111, the other on port 2222, I don't quite understand how to achieve them
I would like to create a procedure in B4J that allows two external clients to connect as tcp clients, and to exchange information
In the sense that I would like every character sent by client1 to be read by client2
I find many examples to activate a single tcp server capable of accepting connections from the outside
But two different tcp server, ones responding on port 1111, the other on port 2222, I don't quite understand how to achieve them