Internet Direct (Indy)
|
Specifies the interface used to access the RecvFrom() API for the protocol stack.
function RecvFrom( const ASocket: TIdStackSocketHandle; var VBuffer; const ALength: Integer; const AFlags: Integer; var VIP: string; var VPort: Integer; AIPVersion: TIdIPVersion = ID_DEFAULT_IP_VERSION ): Integer; override;
Parameters |
Description |
ASocket |
Socket handle for the read operation. |
ABuffer |
Stores values read from the sockt handle. |
ALength |
Sized of the buffer. |
AFlags |
Flags for the RecvFrom() API. |
VIP |
IP address for the remote network sending the data. |
VPort |
Port number for the remote network sending the data. |
AIPVersion |
IP version for the connection. Default is ID_DEFAULT_IP_VERSION. |
Integer - Numberof bytes read from the socket handle and remote destination.
RecvFrom is an abstract virtual Integer function that specifies the interface used to access the RecvFrom() for the protocol stack.
RecvFrom provides access to low-level options and flags not available in ReceiveFrom.
RecvFrom must be implemented in a descendant class to access API calls specific to the protocol stack implementation.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |