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

请教一个关于停止ikcp_update的方法 #393

Open
skymym opened this issue Jun 8, 2023 · 0 comments
Open

请教一个关于停止ikcp_update的方法 #393

skymym opened this issue Jun 8, 2023 · 0 comments

Comments

@skymym
Copy link

skymym commented Jun 8, 2023

通过定时器调用的ikcp_update, 如果在ikcp_update前判断一下waitsnd 和ackcount是否都为0,是则停止调用ikcp_update且从定时器中删除。 当下次调用ikcp_input或者ikcp_send后,再调用ikcp_update并加入定时器。 这么做有什么隐患吗?

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