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 / C++ / MFC
  4. Ping!!!!

Ping!!!!

Scheduled Pinned Locked Moved C / C++ / MFC
linuxquestion
7 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.
  • I Offline
    I Offline
    Ilamparithi
    wrote on last edited by
    #1

    Hi, Is there a way to make a clean icmp ping (no shell command or winsock connect to unused ports) ??? With Best Regards, A.Ilamparithi.

    J P 2 Replies Last reply
    0
    • I Ilamparithi

      Hi, Is there a way to make a clean icmp ping (no shell command or winsock connect to unused ports) ??? With Best Regards, A.Ilamparithi.

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #2

      yes! -- Unser Tanz ist so wild! Ein neuer böser Tanz. Alle gegen Alle!

      P 1 Reply Last reply
      0
      • J Jorgen Sigvardsson

        yes! -- Unser Tanz ist so wild! Ein neuer böser Tanz. Alle gegen Alle!

        P Offline
        P Offline
        Prakash Nadar
        wrote on last edited by
        #3

        Jörgen Sigvardsson wrote: yes! and what is it ?

        J 1 Reply Last reply
        0
        • P Prakash Nadar

          Jörgen Sigvardsson wrote: yes! and what is it ?

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          I don't know. I just answered his question.. ;) I know it is possible though. You can read and write ethernet packets without any special voodoo. And ICMP packets are quite easy to construct as well, so I do know that it is not impossible. :) -- Unser Tanz ist so wild! Ein neuer böser Tanz. Alle gegen Alle!

          P 1 Reply Last reply
          0
          • J Jorgen Sigvardsson

            I don't know. I just answered his question.. ;) I know it is possible though. You can read and write ethernet packets without any special voodoo. And ICMP packets are quite easy to construct as well, so I do know that it is not impossible. :) -- Unser Tanz ist so wild! Ein neuer böser Tanz. Alle gegen Alle!

            P Offline
            P Offline
            Prakash Nadar
            wrote on last edited by
            #5

            I know that the answer is yes too but , if i really dont know how to do it, then no point in replying the question.

            1 Reply Last reply
            0
            • I Ilamparithi

              Hi, Is there a way to make a clean icmp ping (no shell command or winsock connect to unused ports) ??? With Best Regards, A.Ilamparithi.

              P Offline
              P Offline
              Prakash Nadar
              wrote on last edited by
              #6

              Source code[^]

              I 1 Reply Last reply
              0
              • P Prakash Nadar

                Source code[^]

                I Offline
                I Offline
                Ilamparithi
                wrote on last edited by
                #7

                Thanks Mr.Prakash. But, the source code you specified is using socket commands like gethostbyname,WSAStartup... With Best regards, A.Ilamparithi.

                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