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

kcp的心跳检测有问题? #3

Open
sudokuhk opened this issue Oct 31, 2017 · 1 comment
Open

kcp的心跳检测有问题? #3

sudokuhk opened this issue Oct 31, 2017 · 1 comment

Comments

@sudokuhk
Copy link

看到alive()的调用在conn.cpp:176行,Conn::run()里调用的。
这个只有在收到数据的时候才会被触发。

如果是只发送数据,不接收数据,就会超时出错。

@elisaday
Copy link
Owner

如果没有收到数据,可以认为连接出问题了。

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

2 participants