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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to