全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Blocking call, non-blocking descriptor?

又称: blocking call · non-blocking descriptor

Definition 16.11 University Computer Science — Year 2 · 第 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.

在原文中阅读 →