Only block until some data was sent. This allows select + send to be actually non blocking if used correctly. Also fixes a bug with non blocking sockets that could not send the full message is one try.
Only block until some data was sent. This allows select + send to be actually non blocking if used correctly. Also fixes a bug with non blocking sockets that could not send the full message is one try.