System.Net.Socket.TSocket.ReceiveLength

From RAD Studio API Documentation
Jump to: navigation, search

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

ESocketError

Network socket error: <error message> (<error code>), on API 'ioctlsocket'

Socket type not compatible with call

See Also