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

  • 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 235
222
K
A
DAK
KwikNet TCP/IP Sockets
Returns If successful, a non-negative socket descriptor is returned.
On failure, the error status
-1 is returned.
If a socket cannot be created, the error indicator defining the reason for
failure cannot be recorded. You cannot use
kn_errno() to retrieve the
error code since you have no socket descriptor to interrogate. The
following error codes, although not available for testing, still define the
possible reasons for failure.
EPROTONOSUPPORT The socket type or the specified protocol is not
supported within the domain.
EMFILE No more sockets are available. Close some sockets
or revise your KwikNet configuration to provide more.
ENOBUFS Resources needed to create a socket are unavailable.
Restriction Sockets of type SOCK_RAW cannot be used unless you have configured your
KwikNet libraries to allow support raw sockets. Edit your KwikNet Network
Parameter File and check the box labeled "Use raw sockets" on the TCP
property page.
See Also kn_accept(), kn_bind(), kn_connect()
Vue de la page 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 315 316

Commentaires sur ces manuels

Pas de commentaire