My phone seems to get an IP from T-mobile which is not an RFC1918
address, and which I am therefore guessing *may* be routable.

I have a little more code to write and I will have an answer on that.
Does anyone else already know the answer?

On Wed, Nov 26, 2008 at 6:26 PM, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
>> If I open a datagram socket to listen on a particular UDP port and
>> leave it open but don't send anything, does that keep the radio on?
>>
>> If a listening socket doesn't keep the radio on, then an application
>> could send a couple packets to register it's IP and port and then shut
>> up and wait for incoming requests.
>>
>> Thoughts?
>
> I doubt there's a unique IP address per phone on a carrier data network --
> it feels like too many addresses would be needed. It's probably NATted or
> the equivalent. Hence, I'm not convinced a phone can serve as a server
> (TCP or UDP) without help, a la P2P NAT-traversal systems.
>
> But, then again, I've certainly been wrong before...
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.4 Published!
>
>
>
> >
>

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