Functions that properly handle incomplete write()'s. More...
Go to the source code of this file.
Functions that properly handle incomplete write()'s.
Some functions simply use write() to send data through a socket. These calls are sometimes interrupted, especially in the case of an overly large buffer. Even though the write() _could_ finish, the incomplete write is treated as an error. The functions here properly handle those cases.