natPlainSocketImpl.cc: Added timeout handling for sockets.
authorNic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
Tue, 8 Jan 2002 21:14:58 +0000 (21:14 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 8 Jan 2002 21:14:58 +0000 (21:14 +0000)
commit2b521fa72ea1b694ec6fa9893ebec98979e4da68
tree0c7277eb0833a5bcd5d85d2ce5f6352dc8c4ed5b
parent14b3e8ef09b6b6f04a5e5f76d8d4276d0cf53380
natPlainSocketImpl.cc: Added timeout handling for sockets.

2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>

* java/net/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.
* java/net/PlainSocketImpl.java: Glue for new timeout
implementation.
(write): Call the native impl.
(read): Likewise.
(getInputStream): Get a stream to read from the socket.
(getOutputStream): Get a stream to write to the socket.

From-SVN: r48662
libjava/ChangeLog
libjava/java/net/PlainSocketImpl.java
libjava/java/net/natPlainSocketImpl.cc