By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,514 Members | 1,801 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,514 IT Pros & Developers. It's quick & easy.

Port Information in C++

P: 2
Can anyone help me in writing a c++ program to show me the no of ports open in my computer and give the port number?
May 25 '07 #1
Share this Question
Share on Google+
3 Replies


100+
P: 208
Can anyone help me in writing a c++ program to show me the no of ports open in my computer and give the port number?
Have you started it yet?
May 25 '07 #2

P: 2
No , i have just the basic knowledge of c++ but i need to do this ..But cant get anywhere near wat to do..cn you help me out?
May 25 '07 #3

100+
P: 256
It may be overkill, but if you really want to you can get the code for netstat - which is a utility to show all sorts of network related info. Just google for netstat and your sure to find it out there somewhere.

You can learn a lot by looking at other's code.
May 25 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.