- Edited
Hello everybody!
I started using Godot since 6 month. And I currently do some experiment to see what Godot is able to do.
Here is one of them. I am trying to do a NTP synchronisation for a clock.
How its works:
Function Init(): Send a UDP packet to myself to see the UDP port used by the sender.
Function Synchronise(): Send a NTP request to a NTP server then listen to the UDP port used by the sender to get the anwser.
Init() and Synchronise() works nearly the same.
My problem: Synchronise() is waiting for the NTP anwser but nothing come. It is an infinite waiting because wait() is blocking. Line 41.
I shure that the server give an anwser by using Wireshark.
I hope somebody can help me to understand the problem. I joins the GdScript in case.
Regards.
Foreman21.