[.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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top