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.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- Sorting 3 numbers without branching [closed]
- How to maintain order of key-value in DataFrame sa
- Graphics.DrawImage() - Throws out of memory except
Yes. You can support multiple sockets in one application.