I have a simple UDP client server written in C++ on Ubuntu 9.10 where the client sends a set to the server. How can I check how much time s it taking to sent it. I need to find the time from start of transfer to end.
Supposing my server and client are on the same machine then can I somehow save the system time and find the difference or something ?