Hi Guys,
I'm working on a project that maintain an Ad-Hoc network between two laptops, by sending and receving a video&audio streaming. I have finished this part and I'm now looking for how to calculate the data rate of the socket in my program, So if any body knows how to that in C#, please tell me?
Thanks

Jan MontanoRank #1,295 · 1.3K reputationPosted Jan 26, 2009, 11:09 PM EST
As a workaround, you could just compute it manually and come up with the "exact" data rate at the receiving end. As soon as data transfer starts, you could start your timer, and during the actual receive of bytes, you could get the bytes/second.
Just my two cents.
Ahmad AlMarhoun6 reputationPosted Jan 27, 2009, 8:47 AM EST
Dear Mr. Mantano,
I'm very thanks full for your answer.
Regards
Ahmad AlMarhoun6 reputationPosted Jan 27, 2009, 8:47 AM EST
Dear Mr. Mantano,
I'm very thanks full for your answer.
Regards