AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Guía de usuario Pagina 212

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 316
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 211
198
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 The socket is already bound to an address or
parameter destaddr or addrlen is invalid.
EADDRNOTAVAIL The specified address is not available from the
local machine or a broadcast address is not allowed
as a destination for this socket.
EADDRINUSE The specified address is already in use.
EAFNOSUPPORT Addresses in the address family specified by
*destaddr cannot be used with this socket.
ETIMEDOUT Timed out before connection could be established.
(see note below)
ECONNREFUSED The attempt to connect was forcefully rejected.
(see note below)
EHOSTUNREACH There is no route available to reach the destination
address specified. (see note below)
EINPROGRESS The socket is non-blocking and the connection has
not yet been established.
EALREADY The socket is non-blocking and a previous connection
attempt is in progress but is not yet complete.
EPERM The socket descriptor s is a listening socket. Do not
call kn_connect() after calling kn_listen().
ENOBUFS Memory needed to service the request is unavailable.
** note ** You should close the socket identified by descriptor s
to ensure that the connection attempt is aborted.
Then, if necessary, call kn_socket() to obtain a new
socket descriptor and attempt the connection again.
See Also kn_bind(), kn_getsockname(), kn_select(), kn_socket()
Vista de pagina 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 315 316

Comentarios a estos manuales

Sin comentarios