title: Flush a socket in C++
body: <p>I tried to flush a socket after calling to <code>send</code> function in c++.<br>
  I used <code>winsock2.h</code> library.  </p>
  
  <p>I need to send the data immediatly after the send message, but I can not find any function like <code>flash</code> function.  </p>
  
  <p>I am trying to send messages to a device and it expect receiving messages one by one.<br>
  I mean that if I sending two messages in the sender like "MessageOne" and "MessageTwo", the receiver received "MessageOneMessageTwo" that is not seperate, and the device not recognize the commands.</p>
  
  <p>So how can I do that?   </p>