AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Guide de l'utilisateur Page 220

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 316
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 219
206
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 iovecp or iovcnt is invalid or
the buffer length in a data vector was declared to be
less than 0 or the sum of the data vector lengths
exceeds the maximum size of an integer.
ENOTCONN The socket is not connected.
EWOULDBLOCK The socket is marked non-blocking and no data is
available for reading.
ESHUTDOWN The peer has closed the connection and no data is
available for reading.
ENOBUFS Memory needed to service the request is unavailable.
Restriction If there is no data available at the socket, the caller will be blocked waiting
for data to arrive unless the socket s is marked as non-blocking. In the
latter case, the caller will resume with a -1 error status and the error code
EWOULDBLOCK will be stored in the socket descriptor.
Restriction On 16-bit processors, the amount of data which can be received is
restricted to 32767 bytes because the value returned by kn_readv() is a
signed integer.
See Also kn_connect(), kn_recv(), kn_recvfrom(),
kn_socket(), kn_writev()
Vue de la page 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 315 316

Commentaires sur ces manuels

Pas de commentaire