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.
On 01/03/18 15:15, Brian wrote:
Do you know of any kernel functions that would return the current IP address?
I think you're looking for something like SIOCGIFADDR in netdevice(7),
but it's not necessarily what you want. You need to take into account
that a single host might have multiple
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 ?
Do you know of any kernel functions that would return the current IP address
?
Thanks
Brian
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
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 ?
Michael.
Has anyone translated* getifaddrs* function to Free Pascal ?
http://man7.org/linux/man-pages/man3/getifaddrs.3.html
Thanks
Brian
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist -