Can i create multiple sockets in java one for listening from a client and others for forwarding data to back-end servers? I have done the program of multi-threaded server which is echoing the messages of client coming on a specific port..Specifically i want to take input from one socket and forward it to another socket in same program, in this scenario one socket which will act as a server for a client and another socket which will be client for another server.
Asked
Active
Viewed 317 times