Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NIO Socket and CTRL-C  RSS feed

 
yu mei
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I stop my NIO Socket server program with CTRL-C, I got a IOException like this:
java.io.IOException: Interrupted system call
How can I catch it in the program?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!