.... and if the application expects incoming TCP/IP connections
(initiated from the Internet, directed at a server socket running on an
Android device).... it has a really good chance of not working at all
when deployed on a real device, or more precisely, on a real cellular
carrier network (WiFi is another matter, but there you typically have
NAT, so again, if the connection is expected to come from the Internet,
it's most likely not going to work).
-- Kostya
05.08.2011 23:56, David Turner ?????:
On Fri, Aug 5, 2011 at 6:38 AM, Aluvala Suman <aluvala.su...@gmail.com
<mailto:aluvala.su...@gmail.com>> wrote:
Hi All,
I am writing an application which chooses the ports randomly, so
when server is replying with response, i observe in wireshark
that, its saying "Destination Port Unreachable".
As the port is choosen at the runtime , i am not able to add the
port redirection, "redir" command by the time server is responding.
Your description doesn't make any sense to me, but in all cases, just
enforce a specific port through an optional environment variable or
something similar when running inside the emulator. Generally
speaking, any program that relies on random non-deterministic values
is _very_ hard to test properly, you need a way to fix the random seed
some way for reproduceability.
Is there anyway to redirect all the ports to the emulator (or)
stop the emulator using its own network ([click
here](http://developer.android.com/guide/developing/devices/emulator.html))
and link to our development pc network. I mean use our PC's
address and so on.
Please help for the above information.
Thanks & Regards,
SSuman185
--
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
<mailto:android-developers@googlegroups.com>
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
<mailto:android-developers%2bunsubscr...@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
--
Kostya Vasilyev
--
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