Warning: port_write_async is deprecated since 0.35.
Request an asynchronous write of count bytes from buffer
into the port
.
use write_async instead.
When the operation is finished callback
will be called. You can then call port_write_async.end
to get the result of the operation.
port | |
buffer |
the buffer containing the data to write |
cancellable |
optional GCancellable object, NULL to ignore |
callback |
callback to call when the request is satisfied |
count |
the number of bytes to write |
user_data |
the data to pass to callback function |