...
NetTCP_ConnCfgReTxMaxTimeout()
Anchor
Files
Anchor
net_tcp.h/net_tcp.c
Prototype
...
rowspan | 2 |
---|
...
Arguments
conn_id_tcp
Anchor
TCP connection handle ID to configure maximum retransmission timeout value.
Anchor
timeout_sec
Desired value for TCP connection maximum retransmission timeout (in seconds).
...
perr
Anchor
Pointer to variable that will receive the return error code from this function:
...
...
NET_TCP_ERR_NONE
...
NET_TCP_ERR_INVALID_ARG
...
NET_TCP_ERR_INVALID_CONN
...
NET_TCP_ERR_CONN_NOT_USED
...
NET_ERR_INIT_INCOMPLETE
...
NET_OS_ERR_LOCK
...
Returned Value
Anchor
DEF_OK
,TCP connection’s maximum retransmission timeout successfully configured, if no errors.
Anchor
DEF_FAIL
,anchorotherwise.
...
Required Configuration
Anchor
NET_CFG_TRANSPORT_LAYER_SEL
is configured for TCP (see section D-12-1 on page 755).Notes / Warnings
...
...
rowspan | 10 |
---|
...
...
...
...
NetTCP_ConnCfgReTxMaxTimeout(
...
)
...
Anchor
net.h
Note #3”). This is required since an application's network protocol suite API function access is asynchronous to other network protocol tasks.