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. Windows Forms
  4. Beyound understanding PING problem

Beyound understanding PING problem

Scheduled Pinned Locked Moved Windows Forms
help
5 Posts 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    hi friends, i am facing a problem like we i ping a node i got following response CAREFULLY see PING STATS Pinging 10.10.34.45 with 32 bytes of data: Destination Host Unreachable Destination Host Unreachable Destination Host Unreachable Destination Host Unreachable Ping statistics for 10.10.34.45: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), if node is not reachable how i am getting received packet.... and 0% loss plz help me solve this.. :sigh: Thanx for your valuable help optimus

    D L 2 Replies Last reply
    0
    • L Lost User

      hi friends, i am facing a problem like we i ping a node i got following response CAREFULLY see PING STATS Pinging 10.10.34.45 with 32 bytes of data: Destination Host Unreachable Destination Host Unreachable Destination Host Unreachable Destination Host Unreachable Ping statistics for 10.10.34.45: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), if node is not reachable how i am getting received packet.... and 0% loss plz help me solve this.. :sigh: Thanx for your valuable help optimus

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The received packet that it's talking about is the one coming back from the router explaining that there is no route to the destination network. No, it's not the original ping packet, but a valid pakcet did come back, so, yes, it's a "successful" receipt. If not packet had come back at all, that's the "Lost" packet.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      L 1 Reply Last reply
      0
      • D Dave Kreskowiak

        The received packet that it's talking about is the one coming back from the router explaining that there is no route to the destination network. No, it's not the original ping packet, but a valid pakcet did come back, so, yes, it's a "successful" receipt. If not packet had come back at all, that's the "Lost" packet.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        thanx for reply .. but how can i solve this actually i hav written a script to ping 3000 node and depending on their error level it will find out which is unmanaged but due to above problem my script logic is not working .. i want that if node is not reachable no packet should be receive ... plz suggest... thanx

        D 1 Reply Last reply
        0
        • L Lost User

          thanx for reply .. but how can i solve this actually i hav written a script to ping 3000 node and depending on their error level it will find out which is unmanaged but due to above problem my script logic is not working .. i want that if node is not reachable no packet should be receive ... plz suggest... thanx

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Standard Question #2: What does the code look like that is doing the pings?

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          1 Reply Last reply
          0
          • L Lost User

            hi friends, i am facing a problem like we i ping a node i got following response CAREFULLY see PING STATS Pinging 10.10.34.45 with 32 bytes of data: Destination Host Unreachable Destination Host Unreachable Destination Host Unreachable Destination Host Unreachable Ping statistics for 10.10.34.45: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), if node is not reachable how i am getting received packet.... and 0% loss plz help me solve this.. :sigh: Thanx for your valuable help optimus

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Hi, if the PING utility, with all its options, does not satisfy your needs, you may have to create your own; you then could have a look at the System.Net.NetworkInformation.Ping class :)

            Luc Pattyn


            I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


            Local announcement (Antwerp region): Lange Wapper? 59.24% waren verstandig genoeg om NEEN te stemmen; bye bye viaduct.


            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