Romeu writes: > So, you're telling that the IP that my ISP gives me is <> than the IP of > my ethernet card?
Yes. It is the ip of your ppp interface. > I want to write a C program (I know it's a developer issue...), using , > for example, the function gethostname. Where do it applies? When you need to know the hostname of the machine the process is running on. This does not necessarily have anything to do with ip addresses. > Anyway, the question is: I can have two IP's in the same machine for > different interfaces. When (and how) do I use one and when (and how) do I > use another? Mostly you don't. Other people use them to send packets to you. Think of them as phone numbers. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI