🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.networking
Article #324

Re: How do I know if I'm connected?

#324
From: David Evans
Date: Mon, 31 Jul 1995 22:00
16 lines
1169 bytes
On Sat 29-Jul-1995  2:22p, Berend Ozceri wrote:

BO> You could redirect the output of the ping command to a file, let it run
BO> for a couple of seconds (like 10 perhaps), and then send a break signal
BO> to it. Then examine the contents of the redirected file to see what the
BO> result was (it could be as simple as searching for "%d bytes received").
BO> All this could be done from an ARexx script, or if you prefer, you could
BO> write a quick C program to do it.

The problem with the PING command is again it requires human intervention. If
AMITCP isn't running, a requestor will appear saying that it must be running
first.  The PING command will HANG forever if you aren't there to hit a button
on the requestor.

The problem is determining if the AmiTCP protocol is up and running.  Not if a
given IP address exists or is reachable.
Technical Details
Message-ID: <19950731.7BAD3D0.135B9@ccubb.com>
Path: arc1-ca.pugleaf.net!news.micron.net!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.micron.net!news
From: devans@ccubb.com (David Evans)
Newsgroups: comp.sys.amiga.networking
Subject: Re: How do I know if I'm connected?
Date: Mon, 31 Jul 95 22:00:01
Organization: CCUBB Sysop
Distribution: world
Message-ID: <19950731.7BAD3D0.135B9@ccubb.com>
NNTP-Posting-Host: ccubb.com