Calls send() to send as many src bytes as possible.
Note: May raise ESIGPIPE on errors when this socket is stream oriented (e.g. TCP), the other end breaks the connection and this.suppress_sigpipe is false.
data to send
the number of src bytes sent on success or -1 on failure. On failure errno is set appropriately.
See Implementation
Calls send() to send as many src bytes as possible.
Note: May raise ESIGPIPE on errors when this socket is stream oriented (e.g. TCP), the other end breaks the connection and this.suppress_sigpipe is false.