Detecting IP which is engaged with other IP using TCP socket

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chansra agnuru
    New Member
    • Apr 2011
    • 6

    Detecting IP which is engaged with other IP using TCP socket

    Hi,

    Suppose an IP 172.17.18.19 is got binded with other IP 172.17.18.20 using TCP socket,then 172.17.18.19 is not allowed to bind with any other IP say 172.17.18.21.Wh at i need is how can find that 172.17.18.19 is got connected with some IP(172.17.18.20 ). Is there any command is in linux available to detect the IP or tcpdump command is helpful?..pleas e suggest me..am bit new to Networking :-(
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Try netstat

    Comment

    Working...