Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PIndirectChannel::Write ( const void *  buf,
PINDEX  len 
) [virtual, inherited]

Low level write to the channel. This function will block until the requested number of characters are written or the write timeout is reached. The GetLastWriteCount() function returns the actual number of bytes written.

This will use the writeChannel# pointer to actually do the write. If writeChannel# is null the this asserts.

The GetErrorCode() function should be consulted after Write() returns FALSE to determine what caused the failure.

TRUE if at least len bytes were written to the channel.
bufPointer to a block of memory to write.
lenNumber of bytes to write.

Reimplemented from PChannel.

Reimplemented in PDelayChannel, PRFC822Channel, PInternetProtocol, PSSLChannel, and PVXMLChannel.

Definition at line 836 of file pchannel.cxx.

Referenced by PInternetProtocol::Write(), and PRFC822Channel::Write().

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index