AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Podręcznik Użytkownika Strona 227

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 316
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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()
Przeglądanie stron 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 315 316

Komentarze do niniejszej Instrukcji

Brak uwag