Set socket options.
Source position: socketsh.inc line 169
function fpsetsockopt( |
s: cint; |
level: cint; |
optname: cint; |
optval: pointer; |
optlen: TSockLen |
):cint; |
fpSetSockOpt sets the connection options for socket S. The socket may be manipulated at different levels, indicated by Level, which can be one of the following:
The actual option is stored in a buffer pointed to by optval, with length optlen.
For more information on this call, refer to the UNIX manual page setsockopt
Errors are reported in SocketError, and include the following:
|
Get current socket options. |