java - Timeout for active socket connection? -
how can specify timeout on active java.net.socket
connection? don't mean timeout of .accept()
blocks process. i'd set timeout starts count when accept
method takes connection, until client connection closed/output stream returned.
is possible?
yes. possible socket.setsotimeout()
Comments
Post a Comment