3 send \- send a message through a socket
6 #include <sys/socket.h>
10 ssize_t send(int \fIsd\fP, const void * \fImsg\fP, size_t \fImsg_len\fP, int \fIflags\fP);
14 send() sends a message to another socket. It may only be used with
15 connected sockets. At present, minix doesn't support setting
16 \fIflags\fP to any value other than 0.
18 On success, this function returns 0. On error, -1 is returned and
23 The operation is not implemented for the given socket.
26 The socket is not connected; there is no peer.
29 The message pointed to by \fImsg\fP is not in a
30 valid part of the process address space.
33 The address family is not supported by send().
36 The socket is shutdown for writing.
39 The message is too big.