title: nodejs socket write ordering
body: <p>When writing a nodejs proxy server I noticed that data may come into my proxy many times before the data is written to the other socket end. each time my data comes in, i call socket.write(); ...</p>
  
  <p>However I am unsure if the order of the data being transmitted is guaranteed by nodejs to be the same as the order i scheduled the writes due to the asynchronous nature of the sending.</p>
  
  <p>Does anyone know the behavior of nodejs in this situation?</p>
  
  <p>If the order is not guaranteed, then i will have to buffer the data until i recieve the data successfully sent callback.</p>