• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to manage timeouts in socket programming

 
Rohitbabu Kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to implement timeout funtionality in read and write methods in socket programming in java. I am using java 1.4 compiler. Please send me the proper response as soon as possible.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rohitbabu Kumar:
Please send me the proper response as soon as possible.


Ease Up. We're all volunteers here, answering questions in our free time.

As for your question, a quick glance at the java.net.Socket documentation will provide you with the method to set a timeout.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!