Re: IP address of remote end of telnet session

From: Lars Oberg (n-o-sp-am-lars_oberg_at_hotmail.com)
Date: 02/17/04


Date: Tue, 17 Feb 2004 19:14:44 GMT


> The way you phrase this makes it sound like you *do* have a way to get the
> "symbolic" name - and that your issue is converting that to the numeric
> form.
>
> If this is the case, you should take a look at the "host" command.
>

Thanks for the advice. No I do not have a reliable and portable way to get
the resolved name either.

Anyhow, unless anyone else has a better (more portable) solution, I will
just stick to the method I initially posted, since it works just fine on RH
7.x.

Thanks,

Lars