ST_DefaultSocketOptionsTCPClient

Overview

Type:

Structure

Available as of:

V1.0.4.0

Inherits from:

-

Description

The structure ST_DefaultSocketOptionsTCPClient contains information about which socket options should be automatically set or modified when a new connection is established. For a description of the specific socket options, see the description of the property.

Structure Elements

Name

Data type

Default value

Description

xModifyKeepAlive

BOOL

TRUE

If TRUE, sets the socket option KeepAlive to the value of xKeepAliveValue.

xKeepAliveValue

BOOL

TRUE

Value to set socket option KeepAlive to.

xModifyNoDelay

BOOL

FALSE

If TRUE, sets the socket option NoDelay to the value of xNoDelayValue.

xNoDelayValue

BOOL

TRUE

Value to set socket option NoDelay to.

xModifySendBufferSize

BOOL

FALSE

If TRUE, sets the socket option SendBufferSize to the value of udiSendBufferSizeValue.

udiSendBufferSizeValue

UDINT

10000

Value to set socket option SendBufferSize to.

xModifyReceiveBufferSize

BOOL

FALSE

If TRUE, sets the socket option ReceiveBufferSize to the value of udiReceiveBufferSizeValue.

udiReceiveBufferSizeValue

UDINT

10000

Value to set socket option ReceiveBufferSize to.

xModifyOutOfBandInline

BOOL

FALSE

If TRUE, sets the socket option OutOfBandInline to the value of xOutOfBandInlineValue.

xOutOfBandInlineValue

BOOL

TRUE

Value to set socket option OutOfBandInline to.

xModifyTimeoutConnectTls

BOOL

FALSE

If TRUE, sets the corresponding socket option TimeoutConnectTls to the value of uiTimeoutConnectTlsValue.

timTimeoutConnectTlsValue

TIME

T#30s

Timeout for establishing a connection using the method ConnectTls.

Used By

oFB_TCPClient/FB_TCPClient2