[ CCode ( cname = "g_socket_address_new_from_native" ) ]
[ Version ( since = "2.22" ) ]
public static SocketAddress? from_native (void* native, size_t len)
Creates a SocketAddress subclass corresponding to the native struct sockaddr
native
.
native |
a pointer to a struct sockaddr |
len |
the size of the memory location pointed to by |
a new SocketAddress if |