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

使用ec20网卡进行ntp同步只能与第一个服务器进行时间同步 #94

Open
baiqiudi opened this issue Sep 26, 2023 · 0 comments

Comments

@baiqiudi
Copy link

查看代码并使用AT调试发现,虽然设置了三个NTP服务器但是在socket连接的时候只与第一个服务器建立了UDP连接,之后的两个还使用的第一个连接,导致三次同步实际都与第一个服务器进行,但是使用w5500抓包发现是单独与每个服务器进行的连接。
建立连接的地方(会分别向每个服务器发送同步请求,只有第一次建立连接):
image
代码最后才关闭socket(一次操作):
image

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