Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Chat VC++
hi friends, i develope a server/client chat program as a school project   with vc++
 
and i want show the popular port status (open or close) in a check box , like this ports 20 ,21, 23, 25 ,53, 80, 110 ,161 or 1-100 ports
 
i want show this port status in a checkbox that can show the port is open or the port is close
 
i have a litle time to complite this program
 
evry one can help me?
 
thanks a lot
Posted 8-Dec-11 21:59pm
Edited 8-Dec-11 22:02pm
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

See this sample[^] for checking port status.
  Permalink  
Comments
iranboys at 9-Dec-11 6:07am
   
tank you richard ,but that is not solve my problem
Richard MacCutchan at 9-Dec-11 7:15am
   
And what exactly is your problem? You said you want to show port status and I have pointed you to some code that will check port status. If that is not what you are looking for then you need to explain in more detail.
iranboys at 10-Dec-11 7:18am
   
hi my freind & tanks for your atention ,i want to save the port statos in a text file but this source can not do this
2- i cant work with win32 source code,(just visual)
Richard MacCutchan at 10-Dec-11 9:11am
   
What do you mean by " i cant work with win32 source code,(just visual)"? Do you actually understand that Visual C++/Studio is not a language but merely a development environment? You could just as easily develop your program with a simple editor such as Notepad. If you don't know how to create a text file in C++ then you should spend some time studying output file stream.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

any one can help me????pleas!!!!
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 400
1 Jochen Arndt 200
2 Richard MacCutchan 135
3 DamithSL 95
4 Maciej Los 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 10 Dec 2011
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