Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gSocketSendTo

gSocketSendTo


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

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.