Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Blocking call, non-blocking descriptor » ?

Aussi appelé : blocking call · non-blocking descriptor

Definition 16.11 University Computer Science — Year 2 · Chapitre 16 — Sockets

A blocking call waits until it can complete: accept until a client connects, recv until a byte has arrived. On a descriptor made non-blocking (flag O_NONBLOCK), the same calls return at once with the error EAGAIN instead of waiting.

Lire dans le chapitre →