B4X FEED The NTP protocol

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: The NTP protocol است. این موضوع تا کنون 15 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع The NTP protocol
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
15
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Yesterday I have watched a video about the NTP protocol and I was completely thrilled by its simplicity and cleverness. I am sure you all or most of you know it but I am mentioning this in case someone does not. The NTP protocol is the protocol with which our computers and devices synchronize their time with NTP servers.

Let's see the plain case. If you send a request to any server at t0 then it will take ΔΤ1 for the packet to go to the server and ΔΤ2 for the server to report to you the time. It is obvious that with this simple case you cannot synchronize at all the two machines.

And here comes the NTP protocol which utilizes four times for synchronization (t0, t1, t2, t3). Here is how it works. The sender marks in the packet the time t0 it sends the request (f.e. 8:29:58). When the NTP server receives the request it marks the t1 which is the time it received it (f.e. 8:30:02). Since it serves a lot of requests it will not respond immediately but will respond after a...



 

عقب
بالا