|
On Wed, 29 Jan 2003, A. Sivasubrahmanian wrote: > > How to retrieve the IP address of AS/400 machine? Any help / pointers to > the solution is highly appreciated. > It's 127.0.0.1 :) Seriously, though. Everything TCP/IP-enabled computer has at least two IP addresses. The 127.0.0.1 is one of them, and the other depends on the network that it is connected to. Many computers have more than two. For example, if you are connected with both PPP (to an ISP) and ethernet (to your LAN) you've got three IP addresses, one of the LAN, one for PPP and 127.0.0.1 (which is the "loopback" address that always means "same machine") It's possible for your system to have hundreds of IP addresses, which might be useful if you're doing virtual hosting, or something similar. If you just want to see what your system is currently using, type CFGTCP and choose option 1. If you need to do this programmatically, please explain why. Explain what your program will do with this address, then I'll tell you what your best alternative is...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com 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.