Hi everyone,
I found on tcp_get_socket library reference page list of all TCP socket types. Among them, there is a TCP_TYPE_KEEP_ALIVE.
I want to send keep-alive packets instead of connection disconnect but TCP_TYPE_KEEP_ALIVE is undefined in RTL.h.
I'm using MDK-ARM 4.14 (RL-ARM 4.12).
Is TCP_KEEP_ALIVE defined in newest release of MDK-ARM?
According to the release notes, it was added in 4.20
Are you sure about that? I'm trying to find anything concerning TCP and KEEP ALIVE inside release notes but without any luck.
I found it under RL-ARM updates. Thanks.
An extract from the RL-ARM release notes (4.20)
[TCPnet - Enhancements] Added: TCP_TYPE_KEEP_ALIVE socket attribute. With this attribute set, TCP socket sends 0-data packet on keepalive timeout to keep the socket alive. Enhanced: TCP debug messages
Whoops - I didn't refresh the page. I see you have the answer now.
RL-ARM 4.20 ?
Could you please give url? I found something quite different inside RL-ARM 4.13 updates.
I can't find an on-line copy of it.
I looked at RL_Release_Notes.htm which is included in the MDK update of 4.22a
If you really want to see, you could download the current MDK evaluation copy and look at the file in that.
Ok, thanks. I'll download evaluation copy of MDK 4.22a.