[fpc-pascal] Get Local IP using glib (eth0,eth1)

TOUZEAU DAVID david.touzeau at fr.kaspersky.com
Thu Oct 5 17:36:10 CEST 2006


I'm trying to write a function to read the local IP eth0/eth1... using 
glibc library...
I found only examples that found the IP but not the real IP :


Is someone could help me to find the solution...
Currently i use regex on ifconfig that is a hack!

best regards



More information about the fpc-pascal mailing list