How to detect ports in the system?
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.
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 12:31.|