I am unsure if i understand you question, it may be that programs
communicating with a server do not need to identify themselves to a server,
they merely send/receive data.

While some programs, such as browsers do identify themselves, this is not
always true.

I would suggest that you practice with a normal server setup, and once you
have a method that works you can begin to port that method for your app.

Regards,
Fred

On 24 June 2012 16:51, Ami Turgman <[email protected]> wrote:

> Hi All,
>
>
> I have an android native application which hosts a web server inside it.
>
> I want to know which application makes requests before they are processed
> by my application.
>
> What I have is the port of the calling application.
>
>
> How can I find out which application is using this port?
>
> I've tried looking for all processes (cat /proc/net/tcp6), but the
> application with the port I have is not listed (on a rooted device it is).
>
>
> I need to find a way to find the calling application name on a regular
> device (not rooted).
>
>
> Any help is highly appriciated.
>
>
> Thanks!
>
> Ami.
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Magnetic Door Alarm
app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>is
now available in Google Play

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to