• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

client socket not working

 
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: 3054
59
  • 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
Saloon Keeper
Posts: 11342
16
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic