title: Non-blocking sockets and send()
body: <p>Based on my underestimating of non-blocking sockets, when I want to <code>send()</code> data, if the send buffer is full, <code>send()</code> will return an error. But my question is the following:</p>
  
  <p>If the send buffer has room for 5 bytes, and I tried to send 15 bytes, will the entire 15 bytes not be send, or will 5 bytes be send, and it's my responsibility to see how much data were actually sent, and re-send the remaining bytes.</p>