neilstephens / opendatacon

Flexible, highly configurable, modular, high performance, asynchronous, free, open source data concentrator.
Apache License 2.0
9 stars 11 forks source link

Add ability to define socket options to be used #56

Open neilstephens opened 4 years ago

neilstephens commented 4 years ago

Most importantly TCP keepalives.

This should be easy enough for the ports that use the native TCP socket manager, but need to investigate if it's possible with opendnp3...

neilstephens commented 4 years ago

TCP keepalives implemented in local TCPSocketManager, and defaulted to on.

Still need to expose config options in those ports that use TCPSocketManager to allow non-default user settings.

neilstephens commented 4 years ago

opendnp3 doesn't have the option of using TCP keepalives, but that is ok because DNP3 has datalink layer keepalives to serve the same purpose. We could force the issue under linux if we needed to by LDPRELOADing libkeepalive.so.