• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

button hang in threaded server

 
Arad Chear
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folk this is first thread for me in this nice forum

i hope you help me because iam must sent it today to the doctor

when iam press CONNECT button in applet its still back and hang

this is the server


and when client press CONNECT botton iam instantiate an object from Connection class :

 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the ranch!

Do your two programs print anything useful to the console? I haven't tried to run them, but it looks like they might show the first few expected lines.

If so, think about why the server would ever come up with null while reading from the client. What would cause that loop to terminate?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic