i am doing a network program that requires multiple TCP/IP connection at the same time
the problem is i need the multiple connection on the client side so it's not possible to do the
accept() method with threading.
what i need is that the client can send multiple requests to different nodes while he listen to them all on the same port after sending the request.
the reason behind this is,I have to mange 100s or 1000s of connections and it would be wasteful to create a new connection with a new port for each node. even if i can mange with lots of ports, I just want to know if there is a way around this.
I've heard that java doesn't support the select() method which i was informed that it's used in multiplexing.