RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.ReceiveLength Method

Returns the number of bytes ready to be sent over the socket connection.

Pascal
function ReceiveLength: Integer;
C++
__fastcall int ReceiveLength();

Call ReceiveLength to determine the amount of information to read over the socket connection in response to an asynchronous read notification.

Note: ReceiveLength is not guaranteed to be accurate for streaming socket connections.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!