I want to fetch some mobile information from my PC.because of that i want to run some socket continually and whenever I want the info about mobile i request to mobile which socket runs continually on mobile .can u help me out for this?
On Mon, Jul 11, 2011 at 5:48 PM, Streets Of Boston <flyingdutc...@gmail.com>wrote: > You want to keep the socket open forever? > I wouldn't do that (battery drain, how you going to keep a socket open when > the phone can get disconnected quite easily, etc) .Just open the socket when > the client needs stuff. > And if you can use HTTP, use a keep-alive header let the http protocol > 'handle' the socket that needs to be kept alive as long as possible. > > -- > 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 > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en