The AndAppStore server logs show a small range of IP addresses serving all G1 requests, which possibly backs your feeling that there is a NAT in the infrastructure somewhere.
It is possible that the small range are just caching proxies and any non-HTTP traffic goes direct to the net, but given that having a unique publicly accessible IP address per phone would be a bot-net writers dream I'd say that listening sockets on a G1 are going to be pretty much useless as a means for push notifications. Al. Mark Murphy 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! > > > > > > -- ====== Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---