AsynchronousByteCharChannel and Timeouts

Gili cowwoc at bbs.darktech.org
Thu Oct 14 20:41:19 PDT 2010


Hi Alan,

Following up on
http://mail.openjdk.java.net/pipermail/nio-discuss/2010-July/000442.html you
wrote:

"With blocking and non-blocking I/O then you usually have 
to poll with a timeout before you read. Windows does have some support 
for timeouts in blocking reads (it's Microsoft specific and not part of 
the winsock spec AFAIK). Like us, they warn that the socket is is in 
indeterminate state and may lead to data loss when a timeout occurs."

Does this refer exclusively to sockets or does it apply to other I/O as
well? If it's the latter, can you please point me to the documentation in
question?

Thanks,
Gili
-- 
View this message in context: http://nio-discuss.970641.n3.nabble.com/Re-AsynchronousByteCharChannel-and-Timeouts-tp1705546p1705546.html
Sent from the nio-discuss mailing list archive at Nabble.com.


More information about the nio-discuss mailing list