trace ip address of client pc using air

1 view
Skip to first unread message

abhishek

unread,
Oct 5, 2009, 10:01:35 AM10/5/09
to flex_delhi_india_group
hey friends,
could we trace IP address of our client pc who r using our air
application ?
Means i have to catch IP of client pc where my air application is
running,
thx in advanced,
:)

harpreet bhatia

unread,
Oct 5, 2009, 11:02:29 AM10/5/09
to flex_delhi_...@googlegroups.com
Off course you can and you can store it sqllite and then port it back to MYSQL.



From: abhishek <abhishe...@gmail.com>
To: flex_delhi_india_group <flex_delhi_...@googlegroups.com>
Sent: Monday, October 5, 2009 7:31:35 PM
Subject: trace ip address of client pc using air

abhishek

unread,
Oct 6, 2009, 1:25:27 AM10/6/09
to flex_delhi_india_group
plz tell me how can i do this ?
how to track IP address from AIR
:)
:)

On Oct 5, 8:02 pm, harpreet bhatia <harpreeta...@yahoo.com> wrote:
> Off course you can and you can store it sqllite and then port it back to MYSQL.
>
> ________________________________
> From: abhishek <abhishekche...@gmail.com>

AMIT PANDEY

unread,
Oct 6, 2009, 1:34:29 AM10/6/09
to flex_delhi_...@googlegroups.com
Hi Abhishek,

There is no any function available from Adobe which can get the client machine's IP address. You will always need to hit a server URL to get the client machine's IP address.
You can do this by following steps:

1. write a PHP/JSP/ASP file which will get the IP address of client machine.
2. write and AIR application and add "HTTPService" component and put the url of PHP/JSP/ASP file on your application/webserver.
3. write result handlers for the HTTPService to get the IP address and now you can use it as you want in your application

Do let me know if you have any further queries for the same.

Regards
Amit Kr Pandey

abhishek

unread,
Oct 6, 2009, 1:43:59 AM10/6/09
to flex_delhi_india_group
ok,
thx frnd for ur help,
i'll do this, and will ask query if find,
:)

On Oct 6, 10:34 am, AMIT PANDEY <amit4...@gmail.com> wrote:
> Hi Abhishek,
>
> There is no any function available from Adobe which can get the client
> machine's IP address. You will always need to hit a server URL to get the
> client machine's IP address.
> You can do this by following steps:
>
> 1. write a PHP/JSP/ASP file which will get the IP address of client machine.
> 2. write and AIR application and add "HTTPService" component and put the url
> of PHP/JSP/ASP file on your application/webserver.
> 3. write result handlers for the HTTPService to get the IP address and now
> you can use it as you want in your application
>
> Do let me know if you have any further queries for the same.
>
> Regards
> Amit Kr Pandey
>

AMIT PANDEY

unread,
Oct 6, 2009, 2:02:13 AM10/6/09
to flex_delhi_...@googlegroups.com
ur always welcome buddy any time.
:)

Regards
Amit Kr Pandey
Reply all
Reply to author
Forward
0 new messages