toNative
open fun toNative(dest: <Error class: unknown class>? = null, destlen: <Error class: unknown class>): <Error class: unknown class><Boolean>
Converts a #GSocketAddress to a native struct sockaddr, which can be passed to low-level functions like connect() or bind().
If not enough space is available, a %G_IO_ERROR_NO_SPACE error is returned. If the address type is not known on the system then a %G_IO_ERROR_NOT_SUPPORTED error is returned.
Return
true if @dest was filled in, false on error
Since
2.22
Parameters
dest
a pointer to a memory location that will contain the native struct sockaddr
destlen
the size of @dest. Must be at least as large as g_socket_address_get_native_size()