[android-developers] Re: Udp +Tcp connection in Android

2010-07-19 Thread Indicator Veritatis
That is a plausible interpretation of what xuxu wanted; but the real truth is that his request is still too unclear. Again, the most likely reason for thi is that it is based on a misunderstanding. I would highly recommend that xuxu read a source like http://www.linuxjournal.com/article/2333 on

[android-developers] Re: Udp +Tcp connection in Android

2010-07-17 Thread xuxu
Carlos Silva thanks for your answer. I sorry wasn't clearly enough. I want to open udp connection on android with a remote (pc) java server and after getting some packet to switch to tcp connection (open tcp connection between them) I have down it with pc java client and i wand to do it with

Re: [android-developers] Re: Udp +Tcp connection in Android

2010-07-17 Thread Frank Weiss
AFAIK, there's not such thing as a UDP connection. However, if you've done this before in Java, what is the problem you are having doing it on Android? -- 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] Re: Udp +Tcp connection in Android

2010-07-17 Thread Indicator Veritatis
Actually, it is possible, but it would require custom code for both server and client dropping the UDP connection and starting up a corresponding TCP connection on agreed upon ports -- but why? The request sounds like it can only be based on a misunderstanding; not just of Android, but of network

Re: [android-developers] Re: Udp +Tcp connection in Android

2010-07-17 Thread Carlos Silva
On Sat, Jul 17, 2010 at 11:40, Indicator Veritatis mej1...@yahoo.comwrote: Actually, it is possible, but it would require custom code for both server and client dropping the UDP connection and starting up a corresponding TCP connection on agreed upon ports -- but why? The request sounds like

[android-developers] Re: Udp +Tcp connection in Android

2010-07-17 Thread HeHe
finally i understood xuxu's question, did i? On Jul 17, 8:28 am, Carlos Silva r3...@r3pek.org wrote: On Sat, Jul 17, 2010 at 11:40, Indicator Veritatis mej1...@yahoo.comwrote: Actually, it is possible, but it would require custom code for both server and client dropping the UDP connection