AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Uživatelská příručka Strana 236

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 316
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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()
Zobrazit stránku 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 315 316

Komentáře k této Příručce

Žádné komentáře