Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

client socket not working  RSS feed

 
sami Aslan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a server app listening on port 80 , I have an android app that is suppose to talk to the server but it keeps saying "socket timeout"
I am putting the link to the java source code , can you please see if anything is wrong ?

thanks

javacode
 
Tony Docherty
Bartender
Posts: 3201
78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

As this is an android client I will link this thread with the android forum.

BTW It would be better if you posted the relevant sections of the code inline as many people won't click on links to code.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also post relevant details
1) Where is your server running
2) Are you using the emulator or real device
3) Have you ensured the server is accessible from the emulator/device? How?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!