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

TOUZEAU DAVID david.touzeau at fr.kaspersky.com
Fri Oct 6 13:55:28 CEST 2006


Many Thanks for this way jeff...
/proc/net/dev is more compatible
Impressed it
for your information.
My program will run only on linux system...


Marco van de Voort a écrit :
>> I would parse /proc/net/dev instead....
>>     
>
> Better, but still Linux only. For a good solution, a resolver unit that
> accesses libc should be written that is portable (unlike the libc unit)
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>   

-- 

David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6 
FreePascal-Lazarus,perl,delphi,php icq:160018849




More information about the fpc-pascal mailing list