gSocketSendTo: gSocketSendTo
Description
Tries to send size bytes from buffer to address. If address is
NULL then the message is sent to the default receiver (set by
gSocketConnect).Usage
gSocketSendTo(object, address, buffer, size, cancellable = NULL, .errwarn = TRUE)
Arguments
buffer
the buffer containing the data to send.
size
the number of bytes to send
.errwarn
Whether to issue a warning on error or fail silently
Value
A list containing the following elements:
- retval
- [integer] Number of bytes written (which may be less than
size), or -1
on error errorGError for error reporting, or NULL to ignore.
Details
See gSocketSend for additional information.
Since 2.22