SocketAddress.getNativeSize

ptrdiff_t getNativeSize()

Gets the size of address's native struct sockaddr. You can use this to allocate memory to pass to [gio.socket_address.SocketAddress.toNative].

Returns

the size of the native struct sockaddr that

address represents