This behaves exactly the same as Socket.send, except that the choice of blocking or non-blocking behavior is determined by the blocking argument rather than by socket's properties.
the buffer containing the data to send.
whether to do blocking or non-blocking I/O
a GCancellable or NULL
Number of bytes written (which may be less than size), or -1 on error
GException on failure.
2.26
This behaves exactly the same as Socket.send, except that the choice of blocking or non-blocking behavior is determined by the blocking argument rather than by socket's properties.