I try to establish a long life TCP (not http) connection between an Arduino with Ethernet-Shield (Client) and a server for my project.
Therefore I need a stable connection for...as long as possible.
I'd like to ensure that both componets are connected to each other. On the server side (Java) there are of course the capabilities for TCP keep-alive
connections. I thought the Ethernet Shield would support this feature too. But now I do not find any useful information about this anymore. Am I wrong? In that case, what would be your recommendation to ensure a fast detection of a dead connection and a reconnect? Are there any best practices?
If it does support it - is it enabled by default (would break with the RFC I guess) or how may I configure/enable it?
And do other Shields like the redfly wireless shield support it?
Thank you very much for any answers/examples/tipps :-)