[772] in java-interest
Re: Non-blocking read on Socket?
daemon@ATHENA.MIT.EDU (Peter Parnes)
Wed Jul 19 20:23:53 1995
To: Pat Niemeyer <pat@icon-stl.net>
Cc: java-interest@java.Eng.Sun.COM
In-Reply-To: Your message of "Wed, 19 Jul 1995 11:55:10 CDT."
<Pine.BSI.3.91.950719114742.16433A-100000@server.icon-stl.net>
Date: Thu, 20 Jul 1995 00:10:56 +0200
From: Peter Parnes <peppar@cdt.luth.se>
available() doesn't work on sockets and yes, the way to do it is by firing up
another thread and do the read from there. It won't block other threads (I've
done it in several apps).
/Peppar
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com