[fpc-pascal] lNet getting the local IP

Sven Barth pascaldragon at googlemail.com
Wed Oct 6 14:55:21 CEST 2010


Am 06.10.2010 14:49, schrieb Andrew Brunner:
> I just read the first line in /etc/hosts file.  The first entry is the IPv4.
>
> On Tue, Oct 5, 2010 at 3:04 PM, Felipe Monteiro de Carvalho
> <felipemonteiro.carvalho at gmail.com>  wrote:
>> hello,
>>
>> I am searching for a way to get the local IP. I already found examples
>> with winsock, synapse and indy. Does anyone know how to do that with
>> lNet?
>>
>> thanks,

Huh?! O.o

You'll only find "127.0.0.1" for my computer there... I don't think that 
this is a very good solution.

Regards,
Sven



More information about the fpc-pascal mailing list