Hi all:

The Android Tcp Client-Server connection really frustrated me, I
created the Java client on Android instance on one Ubuntu-linux
muchine, and the Java server on another windows machine. Start the
connection from client side. The Java server accepted the incoming
connection, received incoming string which I sent from Java client on
Android instance, and sent a response string back to Android instance
on Ubuntu-linux machine, that is where the problem is,. The response
string could not get through to the Android instance, and the
in.readline() method on Java client never received any incoming
string. I captured the ip packages between Ubuntu-linxu and Windows
server, also packages between Ubuntu-linux and Android instance,
comparing each other, the result shows the response string was
actually received by Ubuntu-linux, and sent to the Android instance
(10.0.2.15), but a package send to the Android instance, instead of an
ACK, the Android instance returned a RST(reset), which is really
weird. Does any one have explanation?


Any suggestion would be appreciated. Thanks

Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to