Adds the addresses from min_addess
to max_address
(inclusive) to this.
The valid port range for the addresses will be from min_port
to max_port
inclusive.
When ttl
is 0, min_address
and max_address
should be unicast addresses. min_address
and max_address
can be set to ANY_IPV4 or
ANY_IPV6 to bind to all available IPv4 or IPv6 addresses.
When ttl
> 0, min_address
and max_address
should be multicast addresses.
this | |
min_address |
a minimum address to add |
max_address |
a maximum address to add |
min_port |
the minimum port |
max_port |
the maximum port |
ttl |
a TTL or 0 for unicast addresses |
true if the addresses could be added. |