CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2000
    Location
    Boston
    Posts
    124

    Enumerate Sockets

    Does anyone know of a function (or set of functions) like EnumProcesses that will list all the open sockets on a system? I have been looking at the WSA functions, but they seem to need a socket. Thanks for any help.

  2. #2
    Join Date
    Apr 2000
    Location
    Boston
    Posts
    124

    Re: Enumerate Sockets

    Never mind, I found the answer. I came across the source code for netstat, which is what I want to display. If anyone comes across this problem, please look at Iphlpapi for functions available from there, I am using GetTcpTable.

  3. #3
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Enumerate Sockets

    [ Moved thread ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured