Click here to Skip to main content
13,401,175 members (49,690 online)
Rate this:
Please Sign up or sign in to vote.
How do I check how many HTTP connections are open currently? or FTP ,,
Posted 5-Dec-12 8:43am
ryanb31 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
on server
Mohammad Abu Arra 6-Dec-12 8:43am
Thanx Albert

1 solution

Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180218.2 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2018
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