A buffer is a queue of characters that are ready to write. When there are enough characters in the queue, they are all written together in one operation.
的字符缓冲区队列已经准备好写。当队列中有足够的人物,他们都是写在一个操作。
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这样的原因是几乎总是准备好(因为几乎总是在套接字发送缓冲区空间),但是你不总是准备好写。
A buffer is a queue of characters that are ready to write.
的字符缓冲区队列已经准备好写。
A buffer is a queue of characters that are ready to write.
的字符缓冲区队列已经准备好写。
应用推荐