[fpc-pascal] Linux getifaddrs

Brian vmst at golden.net
Thu Mar 1 21:26:21 CET 2018


Thanks for all the suggestions but , I found and example which I have
modified for my needs. Currently using Synapse but it only returns the
loopback IP address since in my case the ports eth0 and eth1 are both static
IP's.

https://www.mail-archive.com/synalist-public@lists.sourceforge.net/msg03470/getlocalips.lpr

It is a bit odd that something like this isn't incorporated into Free Pascal
sockets.

Thanks
Brian



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/



More information about the fpc-pascal mailing list