Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Javascript Java Windows PHP , +
How do I check how many HTTP connections are open currently? or FTP ,,
Posted 5-Dec-12 7:43am
Comments
ryanb31 at 5-Dec-12 16:12pm
   
Where? On a client connecting out? On a server connecting in?
Albert Holguin at 5-Dec-12 20:58pm
   
I believe there's a way to check what ports are open, now you've have to relate the port to the type of application that usually uses it or sniff out some of the traffic and try to identify it... problem is I don't really recall the procedure. Have you tried searching google for "identify open ports"?
Mohammad Abu Arra at 6-Dec-12 8:42am
   
ryanb31
on server
Mohammad Abu Arra at 6-Dec-12 8:43am
   
Thanx Albert

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use GetTcpTable() API to get list of open connections and filter the HTTP connections from it. Ditto for FTP.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.141022.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100