Concept Framework 1.0 documentation Contents | Index

standard.net.socket.SocketGetOption

Name Version Deprecated
SocketGetOption version 1.0 no

Prototype:
number SocketGetOption(number socket, number level, number option, var optionValue)

Parameters:
socket      [in] a valid and socket descriptor, as returned by SocketCreate
level      [in] Level at which the option is defined; the supported levels include SOL_SOCKET and IPPROTO_TCP
option      [in] Socket option for which the value is to be set.
optionValue      [out] the retrieved value for the specified option

Description:
Gets a socket option. Is based on the getsockopt system function.

Returns:
Returns 0 if succeeded, or non-zero if failed.

Documented by Eduard Suica, generation time: Thu Oct 15 20:02:05 2009 GMT(c)2009 RadGs Software