natPlainSocketImplPosix.cc (connect): Pass the FD as a ready-to-write argument to...
authorJacob Gladish <gladish@spinnakernet.com>
Thu, 7 Aug 2003 01:13:46 +0000 (01:13 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Thu, 7 Aug 2003 01:13:46 +0000 (02:13 +0100)
commit7c6e92558c74d538f6790a81178b8cbe21f9dedc
tree0663d033ddf9ad5a8fd25a8dd8f844c58ce3875d
parent6eac0ef54eba75e34876c600199e30d290747b13
natPlainSocketImplPosix.cc (connect): Pass the FD as a ready-to-write argument to _Jv_Select.

* java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
ready-to-write argument to _Jv_Select. Reset the socket back to
non-blocking state after connecting.
(accept): Pass the FD as a ready-to-write argument to _Jv_Select.
Throw SocketTimeoutException not InterruptedIOException.
(read): Throw SocketTimeoutException not InterruptedIOException.

Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz>
From-SVN: r70217
libjava/ChangeLog
libjava/java/net/natPlainSocketImplPosix.cc