For Programmers: Free Programming 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, 8:05 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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com