Help need a sample program

Hi all,

Can some one provide me a sample program which measures the performance (both latency and throughput) of TCP and UDP protocol

ask smart questions, i am sure you will get help. be specific

Thank you but I will rather be happy if you could put something helpful rather than such comments!.