Skip to content
New issue

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

UDP上用recv返回0的问题 #17

Open
digdogdod opened this issue Aug 19, 2019 · 0 comments
Open

UDP上用recv返回0的问题 #17

digdogdod opened this issue Aug 19, 2019 · 0 comments

Comments

@digdogdod
Copy link

windows下client_lib在使用的时候,会连接后立马callback断开
原因是recv传入了一个udp socket,然后recv返回0就认为断开。
但是udp是无连接的,recv返回0有可能是认为空数据包,是正常结果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant