Author Topic: icmp  (Read 3514 times)


  • Guest
« 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)


Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2164
« 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).