title: Ensuring packet order in UDP
body: <p>I'm using 2 computers with an application to send and receive udp datagrams. There is no flow control and ICMP is disabled. Frequently when I send a file as UDP datagrams via the application, I get two packets changing their order and therefore - packet loss.</p>
  
  <p>I've disabled and kind of firewall and there is no hardware switch connected between the computers (they are directly wired).</p>
  
  <p>Is there a way to make sure Winsock and <code>send()</code> will send the packets the same way they got there?  </p>
  
  <p>Or is the OS doing that?</p>
  
  <p>Or network device configuration needed?</p>