Jeff Pohlmeyer wrote:
>> > function to read the local IP eth0/eth1 using glibc library.
> 
> This one is a little cleaner...
> 
> program ip_addr;
> {$MODE OBJFPC}
> 
> uses libc;

It doesn't seem like you're using libc specific functions ? You can also
write a fpc 'native' one using fpsocket and fpioctl in baseunix/unix, I
think.

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

Reply via email to