Pelles C forum

C language => Beginner questions => Topic started by: thadmiller on January 12, 2007, 12:41:21 AM

Title: icmp
Post by: thadmiller 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
Title: icmp
Post by: Pelle 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).