send \- send a message through a socket
ssize_t send(int \fIsd\fP, const void * \fImsg\fP, size_t \fImsg_len\fP, int \fIflags\fP);
send() sends a message to another socket. It may only be used with
connected sockets. At present, minix doesn't support setting
\fIflags\fP to any value other than 0.
On success, this function returns 0. On error, -1 is returned and
The operation is not implemented for the given socket.
The socket is not connected; there is no peer.
The message pointed to by \fImsg\fP is not in a
valid part of the process address space.
The address family is not supported by send().
The socket is shutdown for writing.