Core Function SocketOpt

From Sputnik Wiki
Revision as of 01:49, 22 April 2012 by UberFoX (Talk | contribs)
Jump to: navigation, search
SocketOpt( <socket>, <option>, <value> )

Contents

Description

Get or Set a setting on a <socket>.

option

The option to change. See Remarks.

value

Optional; The parameter (varies by option). See Remarks.

Note - If no value is given the CURRENT value of the given option will be returned

Return Value

Returns the value of the previous setting.

Remarks

SendBufferSize

Value that specifies the size of the send buffer of the <socket>

Blocking

Gets or sets a value that indicates whether the <socket> is in blocking mode

0 = False
1 = True

Example

SocketOpt($Socket, "SendBufferSize", 3);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox