The structure ST_DefaultSocketOptionsTCPServer contains information about which socket options should be automatically set or modified when a new server instance is opened.
Name |
Data type |
Default value |
Description |
---|---|---|---|
BOOL |
TRUE |
If TRUE, sets the socket option KeepAlive to the value of xKeepAliveValue. |
|
BOOL |
TRUE |
Value to set socket option KeepAlive to. |
|
BOOL |
TRUE |
If TRUE, sets the socket option ReuseAddress to the value of xReuseAddressValue. |
|
BOOL |
TRUE |
Value to set socket option ReuseAddress to. |
|
BOOL |
FALSE |
If TRUE, sets the socket option SendBufferSize to the value of udiSendBufferSizeValue. |
|
UDINT |
10000 |
Value to set socket option SendBufferSize to. |
|
BOOL |
FALSE |
If TRUE, sets the socket option ReceiveBufferSize to the value of udiReceiveBufferSizeValue. |
|
UDINT |
10000 |
Value to set socket option ReceiveBufferSize to. |
|
BOOL |
FALSE |
If TRUE, sets the corresponding socket option TimeoutAcceptTls to the value of uiTimeoutAcceptTlsValue. |
|
TIME |
T#30s |
Timeout for accepting an incoming connection using the method Accept on ports opened with method OpenTls. |
|
BOOL |
TRUE |
If TRUE, sets the socket option LingerEnabled to the value of xLingerValue. |
|
BOOL |
TRUE |
Value to set socket option So_Linger to. |