Indy 9 | Content | Index | Reference

TIdRawClient
Hierarchy, Properties, Methods, Events, See Also, Unit: IdRawClient
Specifies a client that uses Raw sockets.

    TIdRawClient = class(TIdRawBase)

Unit
IdRawClient
Description
TIdRawClient is a TIdRawBase descendant that specifies a client capable of using Raw socket connections. This allows the programmer to code for protocols that are not supported by the standard stack (ICMP, IGMP or any custom protocol).

TIdRawClient does not provide an implementation; implementation will be provided in descendant classes tailored to a specific protocol, like TIdIcmpClient.

Depending on the underlying operating system and on the security privilege of the user, it might also allow the programmer to build the IP header (currently, this is only supported by Windows 2000).

TIdRawClient.Host
TIdRawClient, See Also
Specifies the endpoint for the socket connection.

    property Host: string;

Description
Host is a String property that specifies the IP address or host name that is the endpoint for the socket connection.

Use Port to indicate the port number used for the socket connection.

TIdRawClient.Port
TIdRawClient, See Also
Identifies the port number for the socket connection.

    property Port: Integer;

Description
Port is an Integer property that identifies the port number for the socket connection.

Use Host to specify the IP adress or host name for the socket connection.

TIdRawClient.Protocol
TIdRawClient, See Also
Identifies the protocol option for the socket connection.

    property Protocol: Integer;

Description
Protocol is an Integer property that identifies the protocol used for the socket connection.

Use Host and Port to specify the host name and port number used for the socket connection.

TIdRawClient.ReceiveTimeout
TIdRawClient, See Also
Identifies the timeout for receive operations.

    property ReceiveTimeout: integer;

Description
ReceiveTimeout is an Integer property that indicate the number of milliseconds that receive operations must wait for the socket to become readable.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.