le dahut wrote: > Hello, > > I'm looking for an API that can do netstat calls to return a list of > listenign ports and maybe a process attached to it. You need the IP Helpers API http://msdn.microsoft.com/en-us/library/ms886687.aspx I'm afraid I've never used it, though, so you'll have to scout around for examples. TJG