Core Function SocketOpt
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> SocketOpt( <socket>, <option>, <value> ) </pre> === Description === Get or Set a setting on a <socket>. ==== option ==== The option to change. See Remarks. ==== value ...")
Newer edit →
(Created page with "<pre> SocketOpt( <socket>, <option>, <value> ) </pre> === Description === Get or Set a setting on a <socket>. ==== option ==== The option to change. See Remarks. ==== value ...")
Newer edit →
Revision as of 01:46, 22 April 2012
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>
Example
SocketOpt($Socket, "SendBufferSize", 3);