| PLEX86 | ||
|
A Cfunction to get the ip address where the executable is running
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Long standing doubt onusrsrc Eh? I don't undertand you. The kernel has a 4KB or 8KB stack, total. It does its own memory Debt Management so nothing is... 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. 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----- |
||||||||
comp.os.linux.advocacy archive Newsgroups. |
||||||||