gSocketSendTo: gSocketSendTo

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

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

1
2
gSocketSendTo(object, address, buffer, size, cancellable = NULL, 
    .errwarn = TRUE)

Arguments

object

a GSocket

address

a GSocketAddress, or NULL

buffer

the buffer containing the data to send.

size

the number of bytes to send

cancellable

a GCancellable or NULL

.errwarn

Whether to issue a warning on error or fail silently

Details

See gSocketSend for additional information. Since 2.22

Value

A list containing the following elements:

retval

[integer] Number of bytes written (which may be less than size), or -1 on error

error

GError for error reporting, or NULL to ignore.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gSocketSendTo in RGtk2...