I have a client-server program using UDP and I would like to test the connection times in an automated way.
The server closes itself after accepting or rejecting a connection and I can't make changes to the connection related code not for the client, nor the server.
The only thing that comes to my mind is trying to do this from a batch file (I'm in windows), but I don't know if it is possible to run both commands from the same batch file in an automated way.