Hallo wie sende ich ein IP Packet in C? Mein Compiler ist minGW Gruß

Hallo wie sende ich ein IP Packet in C? Mein Compiler ist minGW Gruß
Hallo!
Also, in Python geht eigentlich alles.
Hier werden Packete gebaut für ein Ping:
ftp://ftp.visi.com/users/mdc/ping.py
Das ist der Baukausten, Module, Objekte, Konstanten:
http://pydoc.org/1.5.2/socket.html
Gruss
ChrE