Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   How to detect ports in the system? (http://www.go4expert.com/forums/detect-ports-t5350/)

Gopinath 19Jul2007 15:45

How to detect ports in the system?
 
Hi all,

I'm developing an application, which require to detect ports in the system. exactly what my requirement is i need to detect if some device ( modems) or application tried to connect to
some port then i should be able to display a message box.

could any one help me in this regard.

Thanks in advance.

kush_2207 20Jul2007 22:02

Re: How to detect ports in the system?
 
In windows as well as linux theres a command known as netstat -a which lists out all the ports in listening state......
Now you need to make a call to these command......Refer to the documentation of the language you are using.....
There must be something that is provided within the language library....that depends totally on language which you are using...


All times are GMT +5.5. The time now is 13:24.