• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Threads HELP NEEDED

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is the first time i've tried to make a program which requires the use of threads and i'm STUCK!

I have a server and a client. When the client connects to the server, it should start a thread to handle communication with the client.

My problem is that i've tried to do this but the thread dosn't run properly. It starts then stops then starts again for a little longer then stops etc.

I don't know how else to explain it. It would probebly be best if you looked at my code so here's a link to it https://coderanch.com/t/377591/java/java/Network-assignment-HELP-NEEDED

Any help would be greatly apreciated!

Thanks

James.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please, Carefully Choose One Forum and
Use One Thread Per Question.
[ August 16, 2005: Message edited by: Joe Ess ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic