Re: Packet timestamp - SIOCGSTAMP
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