Implemented By

Supported Methods

Description of Methods

GetKeepAlive() as Boolean

Return true if keep alive is set.

SetKeepAlive(enable as Boolean) as Boolean

Enable keep alive if enable is true, otherwise disable it.

If keep alive set, occasional no-data packets will be sent to keep the connection alive.

Returns true if successfully set.

GetLinger() as Integer

Return the max time in seconds that the socket close() blocks to allow send data to be flushed in synchronous mode.

SetLinger(time as Integer) as Boolean

Set the max time in seconds that the socket close() blocks to allow send data to be flushed in synchronous mode.

Returns true if successfully set.

GetMaxSeg() as Integer

Return the max TCP segment size.

SetMaxSeg(time as Integer) as Boolean

Set the max TCP segment size.

Returns true if successfully set.

GetNoDelay() as Boolean

Return true if no delay is on.

With no delay on, data is sent as soon as it is available rather than waiting for enough data to fill a segment.

SetNoDelay(enable as Boolean) as Boolean

Enable the No Delay property on the socket.

If No Delay is set, data is sent as soon as it is available rather than waiting for enough data to fill a segment.

Returns true if successfully set.