We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第三个参数size,应该是接收buf长度,你默认为接收数据长度了。原来recv可以正常接收的。你可以测试下,你的接收过程中是有问题的。
The text was updated successfully, but these errors were encountered:
没有错啊,这个参数的本意就是期望接收的字节数,通过count指针返回实际接收到的字节数。
Sorry, something went wrong.
如果缓冲中实际数据长度没有达到期望,你的函数不会返回。原来的recv是可以的,读完就返回。
No branches or pull requests
第三个参数size,应该是接收buf长度,你默认为接收数据长度了。原来recv可以正常接收的。你可以测试下,你的接收过程中是有问题的。
The text was updated successfully, but these errors were encountered: