Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. IP ADDRESS - Problem

IP ADDRESS - Problem

Scheduled Pinned Locked Moved C#
sysadminhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jijo BP
    wrote on last edited by
    #1

    I am developing a client server application. For to do that I opend the port 1234 in two machines and send some data to destination. UdpClient udpClient = new UdpClient(); udpClient.Connect(123.123.123.123,1234); Byte[] sendBytes = Encoding.ASCII.GetBytes("TEST"); udpClient.Send(sendBytes,sendBytes.Length); But I am working in a LAN. Means my IP address is local to this LAN. I want to communicate to the machine in a different network. How can I get the actual IP address ?. Eg : my ip address is 192.168.1.16 ( if give the command ipconfig in command window). Its local to my network. But my IP in the global status is our router IP. The how can I identify each computer from another network ?. How yahoo messanger in identifying each computer in the lan ? any help Please ... Thanks in advance Cheers Jijo:)

    G 1 Reply Last reply
    0
    • J Jijo BP

      I am developing a client server application. For to do that I opend the port 1234 in two machines and send some data to destination. UdpClient udpClient = new UdpClient(); udpClient.Connect(123.123.123.123,1234); Byte[] sendBytes = Encoding.ASCII.GetBytes("TEST"); udpClient.Send(sendBytes,sendBytes.Length); But I am working in a LAN. Means my IP address is local to this LAN. I want to communicate to the machine in a different network. How can I get the actual IP address ?. Eg : my ip address is 192.168.1.16 ( if give the command ipconfig in command window). Its local to my network. But my IP in the global status is our router IP. The how can I identify each computer from another network ?. How yahoo messanger in identifying each computer in the lan ? any help Please ... Thanks in advance Cheers Jijo:)

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      To get your externnal IP adress you can go to one of the many sites that provide this information. If you want to know how the router keeps track of the traffic, read up on NAT[^]. --- b { font-weight: normal; }

      J 1 Reply Last reply
      0
      • G Guffa

        To get your externnal IP adress you can go to one of the many sites that provide this information. If you want to know how the router keeps track of the traffic, read up on NAT[^]. --- b { font-weight: normal; }

        J Offline
        J Offline
        Jijo BP
        wrote on last edited by
        #3

        Thank you Mr. Guffa

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups