using the network module how can I connect to a so...
# ktor
z
using the network module how can I connect to a socket even if the server is not up? it throws an exception when I try connecting. Is there some way to wait until it's ready and then connect?
a
You can connect to a server in a loop, catching a connection exception and sleeping between retries.