ICI Modules: net: getsockopt


Modules by name : by type

Synopsis

int = net.getsockopt(socket, string)

Description

Returns the value of a socket option. The socket to be inspected is the first argument, the second argument names the option to be returned. The following strings are recognized and correspond to the similarly named C macros,

The result is an integer, the option value.