[Gambas-user] Obtain my IP with Gambas

David Villalobos Cambronero david_villalobos_c at ...43...
Wed Sep 9 17:44:07 CEST 2009


mmmm it's OK, I think there must be something like User.IP :)

 Regards


--
David



----- Original Message ----
From: nando <nando_f at ...951...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Wednesday, September 9, 2009 9:23:55 AM
Subject: Re: [Gambas-user] Obtain my IP with Gambas

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 -------


------------------------------------------------------------------------------
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









More information about the User mailing list