System.Win.ScktComp.TCustomWinSocket.ReceiveLength
Delphi
function ReceiveLength: Integer;
C++
int __fastcall ReceiveLength();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TCustomWinSocket |
Description
Returns the number of bytes ready to be sent over the socket connection.
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.