AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User's Guide Page 208

  • Download
  • Add to my manuals
  • Print
  • Page
    / 316
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 207
194
K
A
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()
Page view 207
1 ... 207 208 209 ... 316

Comments to this Manuals

No comments