This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Final (TCP) socket timeout patch?



Here is my last socket timeout patch (I hope).

Please tell me that you think this is ok. If not I may have a pychotic
episode.


2002-01-03  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk> 
 
	* natPlainSocketImpl.cc: added timeout handling for sockets. 
	(close): new function closes the socket 
	(write): new functions for output to socket 
	(read): new functions for reading from socket 
	* PlainSocketImpl.java: glue for new timeout implementation 
	(write): calls the native impl 
	(read): likewise 
	(getInputStream): gets a stream to read from the socket 
	(getOutputStream): gets a stream to write to the socket 



Nic


Attachment: diff
Description: patch for socket timeout


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]