Re: Interruptible I/O for ObjectInputStream
- From: asb@xxxxxxxxxxxxxx (Antti S. Brax)
- Date: 30 Sep 2005 11:50:26 GMT
je@xxxxxxxxxxxxxx wrote in comp.lang.java.programmer:
> Can anyone tell me how to set matters up so that an ObjectInputStream
> (connected to a socket) can be made to time out if nothing is available
> to be read within a specified timeout period?
Have you tried Socket.setSoTimeout(int)?
--
Antti S. Brax Rullalautailu pitää lapset poissa ladulta
http://www.iki.fi/asb/ http://www.cs.helsinki.fi/u/abrax/hlb/
[1385 messages expunged from folder "Spam"]
.
- Follow-Ups:
- Re: Interruptible I/O for ObjectInputStream
- From: John English
- Re: Interruptible I/O for ObjectInputStream
- References:
- Interruptible I/O for ObjectInputStream
- From: John English
- Interruptible I/O for ObjectInputStream
- Prev by Date: Re: Name that anti-pattern
- Next by Date: Re: Localhost isn't localhost
- Previous by thread: Interruptible I/O for ObjectInputStream
- Next by thread: Re: Interruptible I/O for ObjectInputStream
- Index(es):
Relevant Pages
|