Description

The <netinet/in.h>-compatible 'struct sockaddr'.

May only be set once. Afterwards the object does not change.

Since 1.19

Values

  • sockaddr - Sockaddr struct. As usual with struct sockaddr, the first field, struct sockaddr::sa_family, defines the rest of the structure and how the whole structure must be interpreted. If AF_INET is struct sockaddr_in, AF_INET6 is struct sockaddr_in6.

Signature

@property sockaddr {
    get {
        values {
            sockaddr: const(void_ptr) @nonull;
        }
    }
    set {
        values {
            sockaddr: const(void_ptr) @nonull;
        }
    }
}

C signature

const void *efl_net_ip_address_sockaddr_get(const Eo *obj);
void efl_net_ip_address_sockaddr_set(Eo *obj, const void *sockaddr);

Implemented by

  • Efl.Net.Ip_Address.sockaddr