NO

Author Topic: icmp  (Read 4189 times)

thadmiller

  • Guest
icmp
« on: January 12, 2007, 12:41:21 AM »
Hey all-

I'm a real newbie when it comes to C (most of my experience is from basic-ish languages).  First, good job and thanks for Pelles C - so far, it seems great!  Now to my actual question...

I'm trying to write a ping utility.  I was able to create the import library by using POLIB.  But no header file exists - is there any way to create it from the library, does one already exist somewhere, or what's the proper syntax for defining the functions I need?  (IcmpCreateFile, IcmpCloseHandle, & IcmpSendEcho)

-Thad

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
icmp
« Reply #1 on: January 12, 2007, 12:42:20 PM »
Oh dear, did we have that file too...?  :roll:

Attached is a zipped icmapi.h file with - I hope - the correct definitions. The import library iphlpapi.lib should already be up-to-date.

(The file icmpapi.h will be included in the next release).
/Pelle