• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UDP Sockets & Clock Synchronization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UDP Sockets & Clock Synchronization


  • Subject: Re: UDP Sockets & Clock Synchronization
  • From: Peter Sichel <email@hidden>
  • Date: Thu, 28 Feb 2002 11:24:25 -0500

My idea was for Zack to simply spawn a separate network thread whose sole purpose is to block waiting the reception of those UDP packets.

This is pretty close to the concept of OT notifiers and there shouldn't be any noticeable latency -- the ping tool gets sub-microseconds timings.

Vincent

I've tried this and observed a latency of 0-20ms.

I suspect the ping tool uses the SO_TIMESTAMP option
to capture time in microseconds (unix timeval).

I just tested SO_TIMESTAMP yesterday and it works nicely
on both UDP and raw (ICMP) sockets. I didn't notice it
sooner because it doesn't appear anywhere in Stevens books.

Kind Regards,

- Peter

--
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: UDP Sockets & Clock Synchronization
  • Next by Date: RE: UDP Sockets & Clock Synchronization
  • Previous by thread: Re: UDP Sockets & Clock Synchronization
  • Next by thread: System Configuration framework (setting AuthPassword)
  • Index(es):
    • Date
    • Thread