gSocketAddressToNative {RGtk2} | R Documentation |
Converts a GSocketAddress
to a native
struct sockaddr, which can be passed to low-level functions like
connect()
or bind()
.
gSocketAddressToNative(object, dest, destlen, .errwarn = TRUE)
|
|
|
a pointer to a memory location that will contain the native structsockaddr. |
|
the size of |
.errwarn |
Whether to issue a warning on error or fail silently |
If not enough space is availible, a 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
A list containing the following elements:
retval |
[logical] |
|
|
Derived by RGtkGen from GTK+ documentation