System.Net.Socket.TSocket.ReceiveLength
Delphi
function ReceiveLength: Integer; inline;
C++
int __fastcall ReceiveLength();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TSocket |
Description
Returns the number of available, pending bytes.
Exceptions
A call to ReceiveLength can raise any of the following exceptions:
Exception | Exception.Message | Scenarios |
---|---|---|
Network socket error: <error message> (<error code>), on API 'ioctlsocket' |
| |
Socket type not compatible with call |
|