[Overview][Constants][Types][Procedures and functions][Variables] |
Get current socket options
Source position: socketsh.inc line 189
function GetSocketOptions( |
Sock: LongInt; |
Level: LongInt; |
OptName: LongInt; |
var OptVal; |
var optlen: LongInt |
):LongInt; |
GetSocketOptions gets the connection options for socket Sock. The socket may be obtained from different levels, indicated by Level, which can be one of the following:
For more information on this call, refer to the unix manual page \seem{getsockopt}{2}.
Errors are reported in SocketError, and include the following:
|
Get current socket options |