[fpc-pascal] Linux getifaddrs

Rik van Kekem rik at graficalc.nl
Thu Mar 1 16:14:55 CET 2018


Op 01-03-2018 00:08 schreef Michael Van Canneyt:
> On Wed, 28 Feb 2018, Brian wrote:
>
>> Has anyone translated* getifaddrs* function to Free Pascal ?
>>
>> http://man7.org/linux/man-pages/man3/getifaddrs.3.html
>
> Not to my knowledge. It's not a kernel function, but a Libc function, 
> as far as I can see ?
You might find some more information here:
http://forum.lazarus.freepascal.org/index.php/topic,30062.msg190832.html#msg190832

(please note the type for libc.co)

There is also a function in Synapse (ResolveNameToIP()) which could 
resolve the localhost to all local IPs.
(and I'm sure there is also something in Indy)

Rik



More information about the fpc-pascal mailing list