[.NET winsock]

  • Thread starter Thread starter George Greg
  • Start date Start date
G

George Greg

Hi,

What's the best way in .NET to detect any socket connections that have not
been used for some time? I have been using SO_CONNECT_TIME under winsock to
get this info but I cannot find an obious replacement for it under .NET.

Many thanks in advance
George.
 
You GetSocketOption method of the socket to get the SO_CONNECT_TIME with the
corresponding Socket Option flag in .NET.

Thanks,
Parag/-
 
Thanks for your reply,

This is the problem, I cannot find a relevant option in the SocketOptionName
enumeration.

George.
 
Back
Top