| PLEX86 | ||
|
A Cfunction to get the ip address where the executable is running. 112A Cfunction to get the ip address where the executable is running. 114 Sure. 1) You can buttign as many IP addresses to a NIC as you want. Usually a NIC has only one IP address, but sometimes it's useful for one to have two... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I mean that hosts withnonetwork cards can still have active IP addresses. First off, you can have any number of IP addresses attached to the "loopback" NIC. "lo" is a virtual device, and is not attached to a real network card. Typically, you have at least one IP address there (127.0.0.1), but youcanhave more. Next, you can have zero or more "dummy" NICs, each with it's own IP address or addresses. A Cfunction to get the ip address where the executable is running. 113 Right. Almost every Unix machine with IP networking enabled has a local-loopback interface (on Linux it's 'lo') that's canonically buttigned the IP address 127.0.0.1 ('localhost'). A normal machine also has an Ethernet or similar... Finally, you can have one or more real NICs, each with it's own IP address or addresses. (Yes, NICs, dummy or real, can have multiple IP addresses). And, of course, all of this is optional; you aren't obliged to have "lo" or a "dummy" NIC or real NICs, and can havezeroIP addresses. So, you have to be cautious when talking about "the" IP address; there frequently is more than one IP address to any host. HTH - -- Lew Pitcher Master Codewright & JOAT-in-training GPG public key available on request Slackware - Because I know what I'm doing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU-Linux) iD8DBQFDxs2LagVFX4UWr64RApeaAJ9iuyoDgkVfycjfK6tQ6bljtLVqdACffc8e QgZ0XgQMJFKSWFO-fjv+LnU= =T3K7 -----END PGP SIGNATURE-----
|
||||
A Cfunction to get the ip address where the executable is running. 113 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||