<div>Thanks for the explanation Guy. I'm trying to calculate application to application delay. At the moment i have written this piece of code:</div>
<div> </div>
<div>header_time=localtime(&header->ts.tv_sec);<br>strftime( timestr, sizeof timestr, "%H:%M:%S", header_time);<br>fprintf(buffer,"%d %s.%.6d\n",num_packet,timestr,header->ts.tv_usec);</div>
<div> </div>
<div>but it only gives me the timestamp put by the kernel. Not what I want :(</div>
<div> </div>
<div>Please help me!!</div>
<div> </div>
<div> </div>