ssize_t send_all(int fd, const void* buf, size_t n, int flags);
Sends n bytes from buf to socket handle fd. Does not return until all n bytes have been sent, or there is an error. Returns the number of bytes sent, or the negation of the error code on error.