i would suggest that you try udp with your app because, against the same well-designed nat, often a very good tcp "hole punch" technique has a much higher failure rate than a fair udp one.
On Jul 1, 8:44 am, WuffIT Tech <wuffi...@gmail.com> wrote: > I understand that the IP is subject to change but that is not my > concern. If a connection is dropped, I can always send the other > phone my IP address and reconnect. I have come to the conclusion that > there is not a way to do this without actually using a third party > server. My question now is how should I implement this server. Any > good server examples out there that is similar to what I need? My > overall objective is to have a server that will route a message from > one phone to another like an IM program. > > On Jun 15, 5:47 am, Matthew Powers <mtpow...@gmail.com> wrote: > > > > > I would worry about your IP address changing as you move in and out of > > different networks, your IP address is not constant > > > On Thu, Jun 10, 2010 at 2:40 PM, WuffIT Tech <wuffi...@gmail.com> wrote: > > > Hi, > > > > I am new to this forum and I would like to throw out this question and > > > hopefully someone can point me in the right direction. I am developing > > > an Android application and I would like to setup a tcp/ip type of > > > connection between two Android phones using the 3G/Edge network. My > > > test version will establish a connection if I have both phones on a > > > lan using wifi but when I use T-Mobile's network a connection is not > > > established. Could this issue be a port or ip address? Thanks in > > > advance. > > > > -- > > > 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<android-developers%2Bunsubs > > > cr...@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