[Gambas-user] Obtain my IP with Gambas

nando nando_f at ...951...
Wed Sep 9 17:23:55 CEST 2009


The way I do it is by shelling the ip command
At the prompt:
 
   ip addr | grep -w "inet"

I have redirected it to a file and parse items the lines
I have used SHELL ".." FOR READ and used PROCESS_READ
to parse the lines

Somebody may have something much more elegant.
-Fernando


---------- Original Message -----------
From: David Villalobos Cambronero <david_villalobos_c at ...43...>
To: Gambas Inglés <gambas-user at lists.sourceforge.net>
Sent: Wed, 9 Sep 2009 07:52:43 -0700 (PDT)
Subject: [Gambas-user] Obtain my IP with Gambas

> Hi, is there an easy way to obtain my IP address?
> 
>  Regards
> 
> --
> David
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list