194
K
DAK
KwikNet TCP/IP Sockets
Returns ...continued
The error indicator for socket
s is set to define the reason for failure. Use
kn_errno() to retrieve the error code.
EBADF The socket descriptor s is invalid.
EINVAL Parameter addr or addrlen is invalid or
parameter *addrlen specifies a length that is less
than that required to accommodate a valid address or
the socket is no longer accepting connections.
ECONNABORTED The connection was aborted.
ENOBUFS Memory needed to service the request is unavailable.
EOPNOTSUPP The referenced socket is not of type SOCK_STREAM.
EPERM Socket descriptor s is not a listening socket. You
must call kn_listen() before calling kn_accept().
EWOULDBLOCK The socket is marked non-blocking and no requests
for connection are present to be accepted.
See Also kn_bind(), kn_listen(), kn_socket()
Comments to this Manuals