aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/ip_address/property/sockaddr.txt
blob: 07d9f1b1d0aa721efb9d56c2bc5958e475bc1471 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
~~Title: Efl.Net.Ip_Address.sockaddr~~
===== 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.%%
===== Description =====

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

%%May only be set once, afterwards the object is not changing.%%

//Since 1.19//
{{page>:develop:api-include:efl:net:ip_address:property:sockaddr:description&nouser&nolink&nodate}}


===== Signature =====

<code>
@property sockaddr {
    get {
        values {
            sockaddr: const(void_ptr) @nonull;
        }
    }
    set {
        values {
            sockaddr: const(void_ptr) @nonull;
        }
    }
}
</code>

===== C signature =====

<code c>
const void *efl_net_ip_address_sockaddr_get(const Eo *obj);
void efl_net_ip_address_sockaddr_set(Eo *obj, const void *sockaddr);
</code>

===== Implemented by =====

  * **Efl.Net.Ip_Address.sockaddr**