From: alain AT qnx DOT com (Alain Magloire) Newsgroups: comp.os.msdos.djgpp Subject: Re: Executing ping.exe in my program. Date: 16 Jan 2000 21:06:06 GMT Organization: QNX Software Systems Lines: 18 Message-ID: <85tbru$5i3$1@gateway.qnx.com> References: <38818dfc DOT 0 AT news1 DOT mweb DOT co DOT za> NNTP-Posting-Host: qnx.com X-Trace: gateway.qnx.com 948056766 5699 209.226.137.1 (16 Jan 2000 21:06:06 GMT) X-Complaints-To: usenet AT qnx DOT com NNTP-Posting-Date: 16 Jan 2000 21:06:06 GMT X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jason Barrows (jbarrows AT mweb DOT co DOT za) wrote: : Hi there : Will anyone be able to help me do this. I can't find any information on : doing this anywhere. What I want to do is ping a site from within my : program, and then record the data received to a file. You could use popen (). Or do the ping in C, for this you'll have to do some network programming i.e open a raw socket using the ICMP protocol, not necessarly a pleasing experience. -- au revoir, alain ---- Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!