Unix Programming - Correctly using SO_TIMESTAMP to obtain time stamp for last packet

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2007 > Correctly using SO_TIMESTAMP to obtain time stamp for last packet





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Correctly using SO_TIMESTAMP to obtain time stamp for last packet
jdthebigj@gmail.com

2007-04-12, 7:21 am

Hi All,

I am a not a very good unix programmer . I am trying to get kernel
level time stamps for my packets by using the call
setsockopt(sockfd, SOL_SOCKET, SO_TIMESTAMP, &on, sizeof(on)) .
Unfortunately I'm unable to get any example code to understand its
usage. Can somebody could show me how to do it correctly. I'm using
SUSE 10.2 . Thanks

JD

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com