Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How do I check how many HTTP connections are open currently? or FTP ,,
Posted
Comments
ZurdoDev 5-Dec-12 16:12pm    
Where? On a client connecting out? On a server connecting in?
Albert Holguin 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 6-Dec-12 8:42am    
ryanb31
on server
Mohammad Abu Arra 6-Dec-12 8:43am    
Thanx Albert

1 solution

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900