Wiz200web에 NTP기능을 추가하려고 합니다
General
No replies yet. Be the first to reply.
Join the discussion.
General
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Wiz200web에 NTP기능을 추가하려고 합니다
by irina WIZnet ·
언급하신 상황에서 Wireshark에 패킷이 잡히지 않는 것은 정상으로 보입니다.
모듈에서 255.255.255.255로 패킷을 broadcast 하는 경우, PC도 동일 서브넷에 연결되어 있기에 PC의 wireshark 프로그램에서 해당 패킷을 잡을 수 있습니다.
하지만 NTP server로 unicast 하는 경우, [모듈 → NTP server]로 바로 패킷이 보내지므로 PC에서 해당 패킷을 잡을 수 없는 상황입니다.
sendto 함수가 timeout 발생 없이 정상적으로 보낸 데이터의 length를 리턴하였기에 데이터 전송은 잘 이루어졌으리라 생각됩니다.
모듈에서 unicast로 패킷을 전송할 때 PC 측에서 패킷을 확인하시려면,
더미허브 등의 포트 미러링이 가능한 장비를 이용하셔서 모듈에 연결된 포트의 패킷들을 PC 쪽에서도 확인할 수 있도록 해 주시면 됩니다.