reserve_address
Description:
Reserve address
and port
as the address and port of this.
The original Address is cached and copy is returned, so freeing the return value won't release the address from the pool.
Parameters:
this |
a Stream |
address |
an address |
port |
a port |
n_ports |
n_ports |
ttl |
a TTL |
Returns:
the Address of this or null when the address could not be reserved. free after usage. |