TcpConnection.php中READ_BUFFER_SIZE、maxSendBufferSize、defaultMaxSendBufferSize、maxPackageSize分别代表什么意思啊?
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
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