NAME
getsocket
—
print an unused TCP port
number
SYNOPSIS
getsocket |
DESCRIPTION
The getsocket
utility enables tests scrips
to spin up temporary services on using a unique TCP port that can be bound
to 0.0.0.0.
SEE ALSO
BUGS
The getsocket
utility cannot guarantee the
availability of the allocated port since the socket is recycled by the
operating system when the utility returns.