Begin an asynchronous read from channel. The read timeout is used as in other read operations, in this case calling the OnReadComplete() function.
Note that if the channel is not capable of asynchronous read then this will do a sychronous read is in the Read() function with the addition of calling the OnReadComplete() before returning.
- TRUE if the read was sucessfully queued.
Pointer to a block of memory to receive the read bytes. |
Maximum number of bytes to read into the buffer. |
Definition at line 419 of file pchannel.cxx.
References PChannel::lastReadCount, PChannel::OnReadComplete(), and PChannel::Read().