Concept Framework 2.0 documentation Contents | Index

standard.net.socket.SocketSetOption

Name Version Deprecated
SocketSetOption version 1.0 no

Prototype:
number SocketSetOption(number socket, number level, number option, number 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
option      [in] Level at which the option is defined; the supported levels include SOL_SOCKET and IPPROTO_TCP
optionValue      [in] the value for the specified option

Description:
Sets a socket option. Is based on the setsockopt system function.

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

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:20 2011 GMT(c)2011 RadGs Software