reserve_address


Description:

public Address? reserve_address (string address, uint port, uint n_ports, uint ttl)

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.




2022 vala-language.org