get_physical


Description:

public unowned string? get_physical ()

Returns the physical address associated with this as a string.

(Eg, "127.0.0.1"). If the address is not yet known, returns null.

This method is not thread-safe; if you call it while this is being resolved in another thread, it may return garbage. You can use is_resolved to safely test whether or not an address is resolved before fetching its name or address.

Parameters:

this

a Address

Returns:

the physical address, or null




2022 vala-language.org