Home > Net >  Efficiency of winform procedure, using UDP send large amounts of data
Efficiency of winform procedure, using UDP send large amounts of data

Time:09-23

Use winform wrote a program, click a button, to create a thread, use emgu read the video in this thread, and then read out the data through the UDP sends out, when the resolution of the video is low, frames a lot of cases, click on the button found after sending data of efficiency is very low, but when using the mouse to drag the software, forwarding efficiency instantaneous improved dozens of times, how can I get in without dragging software, can also improve the efficiency of forward???????

This is
program source code
This is not drag the speed of the software
Drag the software speed can reach 80 m

CodePudding user response:

Set up under the thread priority to see

CodePudding user response:

Tried, will improve the realTime software process, to increase the thread priority to the highest, doesn't work, the efficiency is still low, drag the software efficiency is raised

CodePudding user response:

Why 2.1 Mbps can occupy 50% of the bandwidth
  •  Tags:  
  • C#
  • Related