Results 1 to 2 of 2

Thread: Ping address using C

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Australia
    Posts
    149

    Ping address using C

    Hi, just wondering if anyone has a program that just pings an address like once every 60 seconds, sorta like a keep alive program,

    If no one has one how would i go about writing one??

    I only want to write it in c not c++

    Thanks


    Hurgh
    Email: [email protected]
    Website: http://www.hurgh.org/

    Unix, Linux, FreeBSD, OpenBSD, Solaris, Windows

    C, C++, PHP, VB6, ASP, VBScript, JavaScript

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    In the Platform SDK samples (msdn.microsoft.com - choose Downloads/SDKs/Platform SDK) there's a sample to use the ICMP DLL that comes with Windows (part of the API).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width