title: Use increased priority for sockets communication in .NET?
body: <p>I have a C# application that uses System.Net.Sockets.Socket to communicate with some devices on a local network, each time that a message is sent from the application to a device an acknowledge from the device is expected - usually within 200 milliseconds, if the acknowledge is not received within a given timeout period an exception is thrown.</p>
  
  <p>There is one socket per device</p>
  
  <p>Reception is by the socket ReceiveAsync method.</p>
  
  <p>Some users report seeing the acknowledge timeout exception even though I have increased the timeout period to one second, my worry is that the users may be running another application that is cpu intensive and thus interfering with the reception of packages from the devices.</p>
  
  <p>Should I consider raising the priority of my application or does .NET already assign an increased priority to socket events or is the systems time slice for each thread short enough that I do not need to worry about this.</p>
  
  <p>Thank you.</p>