TcpConnection.php中READ_BUFFER_SIZE、maxSendBufferSize、defaultMaxSendBufferSize、maxPackageSize什么意思啊?

phpworker2

TcpConnection.php中READ_BUFFER_SIZE、maxSendBufferSize、defaultMaxSendBufferSize、maxPackageSize分别代表什么意思啊?

3173 1 0
1个回答

walkor 打赏

READ_BUFFER_SIZE是每次socket可读时,读取数据的大小,开发者不用了解。
maxSendBufferSize、defaultMaxSendBufferSize、maxPackageSize 参见Workerman手册说明。

http://doc3.workerman.net/worker-development/max-send-buffer-size.html
http://doc3.workerman.net/worker-development/default-max-send-buffer-size.html
http://doc3.workerman.net/worker-development/max-package-size.html

  • 暂无评论
年代过于久远,无法发表回答
×
🔝