GSocketAddress
to a native struct
sockaddr
, which can be passed to low-level functions like
connect()
or bind()
.gSocketAddressToNative(object, dest, destlen, .errwarn = TRUE)
object
dest
structsockaddr
.destlen
dest
. Must be at least as large as
gSocketAddressGetNativeSize
.TRUE
if dest
was filled in, FALSE
on errorerror
GError
for error reporting, or NULL
to ignore.G_IO_ERROR_NO_SPACE
error is
returned. If the address type is not known on the system
then a G_IO_ERROR_NOT_SUPPORTED
error is returned.
Since 2.22