I have a socket program written in Java.
The server makes use of DatagramSocket to create a socket with a particular port number. I have a client java program, which connects to this server and sends some messages.
Currently I have 3 laptops so I use 1 to run the server and the remaining 2 to be clients. How can I simulate 100 clients?
I am thinking of writing a wrapper around the clients and call them 100 times, but the problem is with the ip-address for those simulated clients NOT being unique. Any guidance appreciated.