Client-Server TCP Connection Problem

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Client-Server TCP Connection Problem

Postby cjami » Sun Jun 07, 2009 9:40 am

Hi,

I have a client application that works fine in both 1.1 phones and
emulators. However, after updating to 1.5 my application fails to
establish a TCP connection to a server on the LAN. No exception is
thrown and the login attempt does not even timeout for some reason. I
can get a response from the server using adb shell 's ping command. I
have also noticed two new lines pop up in logcat during my client-side
login procedure:

I/InetAddress( 368): gethostbyaddr: getnameinfo: 192.168.1.5 =
192.168.1.5 //My server's local ip
I/InetAddress( 368): gethostbyaddr: getnameinfo: 192.168.1.2 =
192.168.1.2

I am using Apache Mina 1.1.7's core networking library. Are there any
changes from 1.1 to 1.5 that may have such an effect?

Regards,

Che
cjami
Freshman
Freshman
 
Posts: 4
Joined: Sun Jun 07, 2009 9:38 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Majestic-12 [Bot], Yahoo [Bot] and 2 guests