• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to stop remote server

 
joey phillip
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To stop the remote server i am giving ctrl+C . I didn't implement anything for stopping the server.
any suggessions?
- joey

 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm...I never even thought of this. I'm doing the exact same. One thing is, you know you don't want to give clients the ability to stop the server. Hmmm...it seems reasonable to leave it like that, but I would be interested in hearing what people passed did.
Matt
 
Aron J. Skantz
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May i speak, even though i havn't passed yet?
I've implemented the server server to prompt someone to type 'STOP' to shutdown. This gives me time to clean up a bit. The cleaning up can be achived in a couple of other ways, but I've seen SUN use this method in one of their tech-letters.
But then again, the criterias say nothing about how to do this, so do the simplest (ctrl+c) or motivate something about usability and use 'STOP' or similar..
Regards,
Aron
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic