Which IP-address do you want ? An AS/400 can have multiple ones, ie.
Ethernet, Tokenring, SLIP, ...but anyway, I would suggest to take a look at
the Sockets manual on http://as400bks.rochester.ibm.com, maybe they've a
routine to do so.
Kind regards,
Paul
___________________
tgr...@ibm.net wrote in article
<347a613c...@news-s01.ny.us.ibm.net>...
The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, Merck & Co., Inc. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.
On Tue, 25 Nov 1997 05:26:42 GMT, tgr...@ibm.net wrote:
>Does anyone know how to "programatically" retrieve the IP Address from
>an AS/400 that is connected to the internet via a SLIP connection. I
>know how to view the IP address using the WRKTCPSTS or NETSTAT
>commands but I need to have a program retrieve the address and use it
>for processing -- Any help would GREATLY be APPRECIATED! Thanks...
>
Nick Roux
Johannesburg
South Africa
mailto:Nick...@Bigfoot.Com
----------------------------