1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How to detect ports in the system?

Discussion in 'MFC' started by Gopinath, Jul 19, 2007.

  1. Gopinath

    Gopinath New Member

    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.
     
  2. kush_2207

    kush_2207 New Member

    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...
     

Share This Page