Need microsecond delay in .NET app for throttling UDP multicast transmission rate

后端 未结 6 1670
遇见更好的自我
遇见更好的自我 2020-12-15 12:37

I\'m writing a UDP multicast client/server pair in C# and I need a delay on the order of 50-100 µsec (microseconds) to throttle the server transmission rate. This helps to a

6条回答
  •  一个人的身影
    2020-12-15 12:57

    I've experienced with such requirement when I needed more precision with my multicast application.

    I've found that the best solution resides with the MultiMedia timers as seen in this example.

    I've used this implementation and added TPL async invoke to it. You should see my SimpleMulticastAnalyzer project for more information.

提交回复
热议问题