No data is copied into the socket buffer.
数据未被拷贝到套接字缓冲区。
Instead, the data could be transferred directly from the read buffer to the socket buffer.
数据可以直接从读取缓冲区传输到套接字缓冲区。
Instead, only descriptors with information about the location and length of the data are appended to the socket buffer.
取而代之的是,只有包含关于数据的位置和长度的信息的描述符被追加到了套接字缓冲区。
Then the data is copied by the kernel into the kernel buffer associated with the output socket.
然后由内核将数据拷贝到与输出套接字相关联的内核缓冲区。
This time, though, the data is put into a different buffer, one that is associated with the destination socket.
但是这一次放置的缓冲区不同,该缓冲区与目标套接字相关联。
Interestingly, Ruby 1.9.0 has the lowest CPU usage, with an implementation that uses readpartial, "no timeout for socket reads" and "pre-allocated String buffer for each read".
有趣的是,Ruby1.9.0对CPU的占有率最低,其实现采用了 readpartial:“不对socket读取设置超时”,同时“提前为每次读取分配字符串缓存”。
A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.
一个在数据报套接字上发送的消息大于内部消息缓冲器或其他一些网络限制,或该用户用于接收数据报的缓冲器比数据报小。
Initializes the data buffer to use with an asynchronous socket method.
设置要用于异步套接字方法的数据缓冲区。
The reason you only use OP_WRITE like this is that is almost always ready (because there is almost always space in the socket send buffer), but you aren't almost always ready to write.
你只用OP _ WRITE这样的原因是几乎总是准备好(因为几乎总是在套接字发送缓冲区空间),但是你不总是准备好写。
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
因为系统缺乏足够缓冲区空间或者因为队列已满无法执行套接字上操作。
If the buffer is full, excess data remains in the underlying socket until the buffer has space again.
如果缓冲区已满,超过的资料会保留在基础通讯端中,直到缓冲区再度有空间为止。
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。
应用推荐