[lazarus] IP Address

Sebastian Günther sguenther at gmx.de
Sun May 14 17:45:41 EDT 2000


Shane Miller wrote:
> 
> What function(s) do I use to get the IP address of the linux box via FPC?

Why don't you just use 127.0.0.1 (a.k.a. "localhost")?
A Linux _box_ doesn't have a specific IP address, as IP addresses are
assigned to _interfaces_, not to computers! So you would have to get a
list of the local network interfaces together with their IP addresses.


- Sebastian






More information about the Lazarus mailing list