Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C Programming Language

socket


hello,

is it possible to determine for opened socket when last time it was
used,
I need to do it by some system function I can't record the time of its
use.

"Sonda" <wfialkiew@hotmail.com> schrieb im Newsbeitrag
news:1181064014.471477.218540@p47g2000hsd.googlegroups.com...
> hello,

> is it possible to determine for opened socket when last time it was
> used,
> I need to do it by some system function I can't record the time of its
> use.

AF_INET or AF_UNIX? Well, neither is topical here (it probably is in
comp.unix.programmer), but for the later you might check it's timestamps
with stat()/fstat() and st_atime it returns via it's 2nd argument (struct
stat *)

Bye, Jojo

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc