...
Pointer to variable that will receive the return error code from this function:
NET_TCP_ERR_NONE
NET_TCP_ERR_CONN_NOT_USED
NET_TCP_ERR_INVALID_CONN_STATE
NET_TCP_ERR_INVALID_CONN_OP
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
DEF_OK
,
TCP connection’s transmit window size successfully configured, if no errors.
...
Available only if NET_CFG_TRANSPORT_LAYER_SEL
is configured for TCP (see section D-12-1).
Notes / Warnings
The conn_id_tcp argument represents the TCP connection handle – not the socket handle. The following code may be used to get the TCP connection handle and configure TCP connection parameters (see also section C-13-38 “NetSock_GetConnTransportID()”):
...