send_with_blocking
Description:
[ Version ( since = "2.26" ) ]
public ssize_t send_with_blocking (uint8[] buffer, bool blocking, Cancellable? cancellable = null) throws Error
public ssize_t send_with_blocking (uint8[] buffer, bool blocking, Cancellable? cancellable = null) throws Error
This behaves exactly the same as send, except that the choice of blocking or
non-blocking behavior is determined by the blocking argument rather than by this's properties.
Parameters:
| this |
a Socket |
| buffer |
the buffer containing the data to send. |
| blocking |
whether to do blocking or non-blocking I/O |
| cancellable |
a gcancellable or null |
| size |
the number of bytes to send |
Returns:
|
Number of bytes written (which may be less than |