i've to develop an application in which i have to select some code and then specify the test cases to measure network performance of that particular code. could any1 here help me to know how exactly it is done. network performance metrics include latency,throughput, bytes sent & received,packet loss. output shud be in the form: latency:xxxxxxxxxx throughput: bytes sent: bytes received: ...