bind_avail: Binds a ZeroMQ socket to an available port in given range
Description
Binds a ZeroMQ socket to an available port in given range
Usage
bind_avail(socket, range, iface = "tcp://*", n_tries = 100)
Arguments
range
Numbers to consider (e.g. 6000:8000)
n_tries
Number of ports to try in range
Value
The port the socket is bound to