Your remote-server-has-my-address idea could work. The only caveat is
that if your phone is running a server for other phones, they need to
be able to reach your IP address, which can be tricky if you are
behind a firewall or network address translator; that's one of the
problems a server proxy can solve.



Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.




On Jul 8, 1:38 pm, mikek <[email protected]> wrote:
> Currently, my Android app is client and talks to other clients through
> a server proxy. I'd like to get rid of the server proxy if at all
> possible.
>
> Is it possible for an Android application to implement a socket
> server? If so, how would a client on the local network find it? I
> could find imagine several solutions, for example, the Android server
> app registers its address with a remote server and other clients check
> with the remote server for the address  or alternatively, display the
> address in the Android app.
--~--~---------~--~----~------------~-------~--~----~
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