Are Python serial write and socket send commands blocking?
<p>I am running an into an issue with my python SocketServer application which seems to be blocking some threads intermittently. I am guessing this could be because of a network outage and somehow the write buffer is overrun and the write is blocked after that.</p>

<p>These are my questions 
1) When I do a write on a serial port and the write buffer is full what happens?
2) When the socket send buffer is full will the send block until there is space in the buffer to write?</p>

<p>My Socket server is non-blocking but I want to know what happens in case of a buffer overrun.</p>
