You could try running a server socket on the phone. The server would connect to the phone's port when it has something to send down and then tear it down. If TCP is too heavy handed for this, you could try using UDP (DatagramSocket)
If T-Mobile has a NAT like router/firewall between the phone and the server, the server will not be able to reach the phone directly. Any body know if this is the case with T-Mobile? On Oct 8, 2:04 pm, j <[EMAIL PROTECTED]> wrote: > I would like to maintain a persistent socket connection to a server > via my background Service. The reason is I want to be able to push > notification data to client with minimal delay. Is there any problem > with this approach besides negative effects on the battery? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

