Socket listening to multiple ports.
807591May 15 2008 — edited May 15 2008Hi all, I am new to java programming and I need to program a java program that the socket server will open 20 port and keep listening. The client will connect to any of the 20 port and send information.
I have tried using array to open the port. however, there is some error.
I tried searching the website however those example one shows opening one port.
Thanks for reading