Измерьте скорость передачи данных через TCP, используя С#C#

Место общения программистов C#
Ответить
Гость
 Измерьте скорость передачи данных через TCP, используя С#

Сообщение Гость »


I am sending a huge file over TCP using C#, and would like to measure the download speed. How can I capture the transfer rate every second? If I use IPv4InterfaceStatistics or a similar method, I capture the device transfer rate instead of capturing the file transfer rate. The problem with capturing device transfer rate is that it captures all data passing through the network device instead of the single file that I transfer.

How can I capture the file transfer rate?


Источник: https://stackoverflow.com/questions/464 ... ng-c-sharp
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C#»