SocketAddress.getNativeSize

Gets the size of address's native struct sockaddr. You can use this to allocate memory to pass to Socket.addressToNative.

class SocketAddress
ptrdiff_t
getNativeSize
()

Return Value

Type: ptrdiff_t

the size of the native struct sockaddr that address represents

Meta

Since

2.22