Tries to send size bytes from buffer to address. If address is NULL then the message is sent to the default receiver (set by Socket.connect).
See Socket.send for additional information.
a gio.SocketAddress, or NULL
the buffer containing the data to send.
a GCancellable or NULL
Number of bytes written (which may be less than size), or -1 on error
GException on failure.
2.22
Tries to send size bytes from buffer to address. If address is NULL then the message is sent to the default receiver (set by Socket.connect).
See Socket.send for additional information.