SocketAddress.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.

class SocketAddress
ptrdiff_t
getNativeSize
()

Return Value

Type: ptrdiff_t

the size of the native struct sockaddr that address represents