Looking for PING source code/component - HELP

Hi,

I'm looking for source code or a component (source code preferred) that will
allow me to PING a machine on the Internet.

Thanks in advance,
Nigel
n.po...@gmg.com.au