Opened Ports

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinot85
    New Member
    • Aug 2007
    • 53

    Opened Ports

    Hi,
    i want to display the opened ports in the UNIX system by making use of a C program. tell me how can i do the port programming?
  • Colloid Snake
    New Member
    • Nov 2006
    • 144

    #2
    Originally posted by vinot85
    Hi,
    i want to display the opened ports in the UNIX system by making use of a C program. tell me how can i do the port programming?
    Why not just use the *Nix netstat command?

    Comment

    • vinot85
      New Member
      • Aug 2007
      • 53

      #3
      Hi i just want to see how to do that manually using C.

      Comment

      • Colloid Snake
        New Member
        • Nov 2006
        • 144

        #4
        Originally posted by vinot85
        Hi i just want to see how to do that manually using C.
        And the great thing about Linux is the accessibility to source code - you can check out the implementation of 'netstat'.

        Comment

        • vinot85
          New Member
          • Aug 2007
          • 53

          #5
          How can i acces the LINUX Sources ?
          Give me some links.

          Comment

          • Nepomuk
            Recognized Expert Specialist
            • Aug 2007
            • 3111

            #6
            Originally posted by vinot85
            How can i acces the LINUX Sources ?
            Give me some links.
            Try searching on sites like rpmseek.com, or just use Google!
            And I think, this should be what you are looking for: netstat

            Comment

            Working...