Internet Direct (Indy) Version 9.0.2 Beta
|
procedure GetSockOpt(level: Integer; optname: Integer; optval: PChar; optlen: Integer);
OptNames is one of the constant values declared in IdStackConts.pas.
OptVal is the resulting socket option after a call to WSGetSockOpt using the global stack instance GStack.
Use SetSockOpt to update the options for a socket descriptor.