gSocketListen: gSocketListen

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Marks the socket as a server socket, i.e. a socket that is used to accept incoming requests using gSocketAccept.

Usage

1
gSocketListen(object, .errwarn = TRUE)

Arguments

object

a GSocket.

.errwarn

Whether to issue a warning on error or fail silently

Details

Before calling this the socket must be bound to a local address using gSocketBind.

To set the maximum amount of outstanding clients, use gSocketSetListenBacklog. Since 2.22

Value

A list containing the following elements:

retval

[logical] TRUE on success, FALSE 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 gSocketListen in RGtk2...