This may work -- depending on what it's used it for -- but all you're
(conceptually) doing here is storing the IP in a file and retrieving it when

If the IP changes for whatever reason (DHCP, PPP auto-negotiation, etc)
you'll have to update the host table manually to get the new IP.

And if your host is multi-homed or has alias addresses, this won't even
try to cope with them.

So...  it depends on what the originally poster is trying to do.

On Thu, 17 Jan 2002, Jeff Bull wrote:
> Hi Eric,
>       1. put an entry in the Hosts Table for the current system-name
>       2. RTVNETA SYSNAME(&field) - &field *char 8
>       3. PING &field
> &data *char 39
>       5. CHGVAR &IPADR %sst(&data 25 15)
> You should be able to get this to work.
> Jeff B

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.