Description

The local address, similar to getsockname().

The actual value depends on the type of socket, such as an IPv4 (ip:port) or IPv6 ([ip]:port) formatted for a TCP/UDP socket, the path if an Unix Local...

It's always resolved. If operations are working with domain names or URLs, these are the values the kernel reports. It's similar to getsockname() in behavior.

Since 1.19

Values

  • address - Local address

Signature

@property address_local @pure_virtual {
    get {
        values {
            address: free(string, free);
        }
    }
    set @protected {
        values {
            address: free(string, free);
        }
    }
}

C signature

const char *efl_net_socket_address_local_get(const Eo *obj);
void efl_net_socket_address_local_set(Eo *obj, const char *address);

Implemented by

  • Efl.Net.Socket.address_local