FXuval FX::QBlkSocket::readBlock ( char *  data,
FXuval  maxlen 
) [virtual]

Returns:
The number of bytes read (which may be less than requested)
Parameters:
data Pointer to buffer to receive data
maxlen Maximum number of bytes to read
Reads a block of data from the socket into the given buffer. Will wait forever until requested amount of data has been read if necessary. Is compatible with thread cancellation in FX::QThread on all platforms.

Implements FX::QIODevice.


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:34 2009 for TnFOX by doxygen v1.4.7