get_native_size


Description:

[ Version ( since = "2.22" ) ]
public virtual ssize_t get_native_size ()

Gets the size of this's native struct sockaddr.

You can use this to allocate memory to pass to to_native.

Parameters:

this

a SocketAddress

Returns:

the size of the native struct sockaddr that this represents