Constructor Summary

Method Summary

Attempts to bind using the provided port and if that fails attempts to
bind to each of the ports from portstart to (portstart + retries -1)
until either there are no more ports or the bind is successful.

getBind

bind

Attempts to bind using the provided port and if that fails attempts to
bind to each of the ports from portstart to (portstart + retries -1)
until either there are no more ports or the bind is successful. The
address to bind to is obtained via a call to {link getBind().

Parameters:

socket - The socket to bind

portstart - Starting port for bind attempts

retries - Number of times to attempt to bind (port incremented
between attempts)