Hi

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

http://community.freepascal.org:10000/bboards/message?message_id=233776&forum_id=24083
http://lists.freepascal.org/lists/fpc-pascal/2002-March/002932.html

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

best regards

--




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

Reply via email to