Non-blocking method for reading writing objects to sockets
- From: "Sameer" <sameer75@xxxxxxxxx>
- Date: 6 May 2005 05:09:18 -0700
The methods writeObject and readObject of socket class are blocking
one. i.e. if we create a ObjectInputStream object using
new ObjectInputStream(socket.getInputStream()), the methods blocks
until it gets some stream stuff.
What is the corresponding non-blocking mthod so as to include in
non-blocking programming?
.
- Follow-Ups:
- Re: Non-blocking method for reading writing objects to sockets
- From: Marcin Grunwald
- Re: Non-blocking method for reading writing objects to sockets
- From: John C. Bollinger
- Re: Non-blocking method for reading writing objects to sockets
- From: Joseph Dionne
- Re: Non-blocking method for reading writing objects to sockets
- Prev by Date: Re: Checked and unchecked exceptions. A clearer explanation please.
- Next by Date: Re: swing book
- Previous by thread: HTTP 401.3 because java.net.Authenticator not invoked
- Next by thread: Re: Non-blocking method for reading writing objects to sockets
- Index(es):