Internet Direct (Indy)
Home
PreviousUpNext
TIdStack.GetSocketOption Method

Specifies a method for reading socket options.

Pascal
procedure GetSocketOption(
    ASocket: TIdStackSocketHandle; 
    ALevel: TIdSocketOptionLevel; 
    AOptName: TIdSocketOption; 
    out AOptVal: Integer
); virtual; abstract;
Parameters 
Description 
ASocket 
Handle for the socket.
 
ALevel 
Socket option level.
 
AOptName 
Name of the socket option for the request.
 
AOptVal 
Current value for the requested option. 

GetSocketOption is an abstract virtual procedure that specifies the interface used to read socket options on the platform implementing the Indy library. 

GetSocketOption must be implemented in a descendant class that provides access to the socket implementation for the relevant platform.

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.