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

  • 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 226
KwikNet TCP/IP Sockets
K
A
DAK
213
Returns If successful, this procedure returns the total number of ready sockets
identified in the descriptor sets. The variables
*readfds, *writefds and
*exceptfds are updated to identify the subset of the sockets specified by
the caller which match their respective criteria.
This procedure returns 0 if the specified timeout interval elapses before
any sockets are ready.
On failure, the error status -1 is returned. Unfortunately, the error
indicator defining the reason for failure cannot be recorded. You cannot
use
kn_errno() to retrieve the error code since you do not have a unique
socket descriptor to interrogate. The following error codes, although not
available for testing, still define the possible reasons for failure.
EBADF A socket descriptor in one of the sets is invalid.
ENOBUFS Memory needed to service the request is unavailable.
See Also kn_socket()
Zobrazit stránku 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 315 316

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

Žádné komentáře