Skip to content
Discussion options

You must be logged in to vote

返回值 capacity 指的是当前流的可发送容量,即在当前时刻,这个流还能发送多少字节的数据。这不是指流的最大可发送码率,也不是指流总共已发送了多少字节,而是指在调用此函数的时刻,基于流控制和拥塞控制的限制,这个流还能发送多少额外的数据。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iyangsj
Comment options

Answer selected by iyangsj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants