On a blocking connection, a return of 0 means that the connection was closed, while -1 indicates that an error occurred.
在受阻塞的连接中,该函数返回0,表示连接已经关闭,而-1 则表示连接出现错误。
On a non-blocking connection, a return of 0 means no data was available, and -1 indicates an error.
在非阻塞连接的情况下,返回0表示没有可以获得的数据,返回-1 表示连接出错。
The error status of the function is captured and tested, but this example ignores a feature of send in non-blocking mode (enabled by the MSG_DONTWAIT flag).
函数的错误状态被捕获并测试,但这个例子忽略了send在无阻塞模式(由msg_dontwait标志启用)下的一个特性。
Error, notification (alert), and confirmation messages are blocking bulletin dialogs. As we shall see, even these can and should be avoided in most circumstances.
错误、通知(警告)和确认消息都是阻塞型公告对话框,我们将看到在大多数情况下就算是这些也都能够避免,并且应该避免。
The error is captured inside the interrupt handler which requires to process the event in a very short time and non-blocking manner.
内部的错误捕获中断处理程序需要处理事件在很短的时间内和非阻塞的方式。
The error is captured inside the interrupt handler which requires to process the event in a very short time and non-blocking manner.
内部的错误捕获中断处理程序需要处理事件在很短的时间内和非阻塞的方式。
应用推荐