Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

write() method of DataOutputStream not throwing exception  RSS feed

 
Kavitha bharathi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a simple client-server program. When server closes, and client writes to the socket, no IOException is thrown. Should some other method be used for writing or is there any timeout??

Thanks in advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!