• 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: Packet timestamp - SIOCGSTAMP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packet timestamp - SIOCGSTAMP


  • Subject: Re: Packet timestamp - SIOCGSTAMP
  • From: "Peter Sichel" <email@hidden>
  • Date: Mon, 23 Jan 2006 22:04:25 -0500

On 1/23/06, Serban Simu wrote:

>I am wondering if OS X has a mechanism to read incoming packet time
>stamps, similar to the ioctl SIOCGSTAMP on Linux...

It's there, but not well documented:

  result = setsockopt(mSocket, SOL_SOCKET, SO_TIMESTAMP, &value, sizeof(int));

Kind Regards,

- Peter


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Packet timestamp - SIOCGSTAMP (From: Serban Simu <email@hidden>)

  • Prev by Date: Packet timestamp - SIOCGSTAMP
  • Next by Date: multicast routing support.
  • Previous by thread: Packet timestamp - SIOCGSTAMP
  • Next by thread: Kernel's clock rate
  • Index(es):
    • Date
    • Thread