Gio.SocketAddress.prototype.get_native_size
function get_native_size(): Number(gssize) { // Gjs wrapper for g_socket_address_get_native_size() }
Gets the size of address's native struct sockaddr. You can use this to allocate memory to pass to Gio.SocketAddress.prototype.to_native.
Since 2.22
- Returns
the size of the native struct sockaddr that address represents