Well, do they do RTP over UDP or TCP?  TCP worked easily on my stock
G1, but similar UDP code did not.  Granted I didn't try very long
because the way I'm using it, I can easily switch to UDP when/if I get
it to work.
I'd be interested in a proper UDP solution.

> meanwhile, servers requiring *persistent tcp connections* may have
> scalability issue.
Hmm, probably, because of the file descriptor limit or memory limit?

Other than that, you'll have scaling issues using a single machine regardless.

On Thu, Jul 1, 2010 at 5:52 PM, HeHe <cnm...@gmail.com> wrote:
> if the statement "I concluded that this is not allowed when using a
> non LAN connection." were true, all RTP apps would fail on 3G
> networks. but most if not all of them seem working well.
>
> meanwhile, servers requiring *persistent tcp connections* may have
> scalability issue.
>
> On Jul 1, 3:18 pm, Miguel Morales <therevolti...@gmail.com> wrote:
>> I was never able to receive udp packets from my server onto my phone
>> that's connected a 3G network.
>> I concluded that this is not allowed when using a non LAN connection.
>> Phone to phone TCP works from what I've heard, but frankly I don't see
>> the advantages unless your game REALLY needs it.
>>
>> What works for me is of course having all players communicate via a
>> common server and try to have the latency as low as possible.
>>
>> There was a thread about this where I gave my two cents and
>> experience.  I use a combination of perl, erlang/rabbitmq, and java.
>> You can find the thread 
>> here:http://groups.google.com/group/android-developers/browse_thread/threa...http://groups.google.com/group/android-developers/browse_thread/threa...
>>
>> Miguel.
>>
>>
>>
>>
>>
>> On Thu, Jul 1, 2010 at 9:40 AM, HeHe <cnm...@gmail.com> wrote:
>> > 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
>>
>> --http://developingthedream.blogspot.com/,http://diastrofunk.com,http://www.youtube.com/user/revoltingx,
>>  ~Isaiah 55:8-9
>
> --
> 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



-- 
http://developingthedream.blogspot.com/,
http://diastrofunk.com,
http://www.youtube.com/user/revoltingx, ~Isaiah 55:8-9

-- 
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

Reply via email to