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

gTcpConnectionSetGracefulDisconnect

gTcpConnectionSetGracefulDisconnect


Description

This enabled graceful disconnects on close. A graceful disconnect means that we signal the recieving end that the connection is terminated and wait for it to close the connection before closing the connection.

Usage

gTcpConnectionSetGracefulDisconnect(object, graceful.disconnect)

Arguments

object

a GTcpConnection

graceful.disconnect

Whether to do graceful disconnects or not

Details

A graceful disconnect means that we can be sure that we successfully sent all the outstanding data to the other end, or get an error reported. However, it also means we have to wait for all the data to reach the other side and for it to acknowledge this by closing the socket, which may take a while. For this reason it is disabled by default. Since 2.22

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.