We currently use TCP server and client sockets to transfer state with STREAMING_STATE_TRANSFER. Add an option to use the default transport (could be TCP, could be UDP).
State provider:
- Write state into an output stream
- The output stream generates unicast messages of a fixed size and sends them to the state receiver
State receiver:
- Provides an input stream
- The app reads data off of that stream
- The received message chunks are placed into the input stream
Might be more firewall friendly and causes less config overhead (e.g. punching of holes for the TCP conn in the FW).