Probing for TCP Connections

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kterry
    New Member
    • Feb 2008
    • 2

    Probing for TCP Connections

    I am working on an app for work that checks to make sure a connection is present, and if not, it will restart an application. Is there a way to probe for a certain TCP connection in netstat? Or is there a library that I can use?

    I am very new to C...I'm coming from PHP development :)
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    What OS are you using? (And you are using C, correct, not C++ - just making sure as they are different.)

    Comment

    • kterry
      New Member
      • Feb 2008
      • 2

      #3
      This will be compiled to run on Windows XP.
      C is the language I will be using :)

      Comment

      Working...