- stomp_setup(+Connection, +Options) is det
- Set up the actual socket connection and start receiving thread. This
is a no-op if the connection has already been created. The Options
processed are below. Other options are passed to tcp_connect/3.
- timeout(+Seconds)
- If tcp_connect/3 fails, retry until the timeout is reached.
If Seconds is
inf
or infinite
, keep retrying forever.