Re: [fpc-pascal] Find out local IP adress

2009-03-23 Thread Travis Siegel
You could always exec ifconfig, then parce the output for the interfaces, and pull the ips from there. I do this on OSX with a simple terminal script like this: ifconfig|grep broadcast|awk '{print $2}'; This could easily be made to work on linux/bsd/fpc with very little work. Hope this helps.

Re: [fpc-pascal] Find out local IP adress

2009-03-22 Thread Ralf A. Quint
At 01:21 PM 3/22/2009, David W Noon wrote: On Sun, 2009-03-22 at 20:36 +0100, Rainer Stratmann wrote: > Am Sonntag, 22. März 2009 20:24 schrieb Jonas Maebe: > > On 22 Mar 2009, at 20:21, Rainer Stratmann wrote: > > > May be there exists another way to find out the local IP adress. > > > > "The"

Re: [fpc-pascal] Find out local IP adress

2009-03-22 Thread David W Noon
On Sun, 2009-03-22 at 20:36 +0100, Rainer Stratmann wrote: > Am Sonntag, 22. März 2009 20:24 schrieb Jonas Maebe: > > On 22 Mar 2009, at 20:21, Rainer Stratmann wrote: > > > May be there exists another way to find out the local IP adress. > > > > "The" local ip address does not exist. A system can

Re: [fpc-pascal] Find out local IP adress

2009-03-22 Thread Rainer Stratmann
Am Sonntag, 22. März 2009 20:24 schrieb Jonas Maebe: > On 22 Mar 2009, at 20:21, Rainer Stratmann wrote: > > May be there exists another way to find out the local IP adress. > > "The" local ip address does not exist. A system can have multiple > network cards, there can be vpn tunnels, NAT gateways

Re: [fpc-pascal] Find out local IP adress

2009-03-22 Thread Jonas Maebe
On 22 Mar 2009, at 20:21, Rainer Stratmann wrote: May be there exists another way to find out the local IP adress. "The" local ip address does not exist. A system can have multiple network cards, there can be vpn tunnels, NAT gateways to other networks and virtual machines, ... Which of t