address: Form an Address/Endpoint

View source: R/address.r

addressR Documentation

Form an Address/Endpoint

Description

A notationally convenient function for forming addresses/endpoints. It's a simple wrapper around the paste0() function.

Usage

address(host, port, transport = "tcp")

Arguments

host

The host ip address or url.

port

A port; necessary for all transports except ipc.

transport

The transport protocol. Choices are "inproc", "ipc", "tcp", and "pgm"/"epgm" for local in-process (inter-thread), local inter-process, tcp, and pgm, respectively.

Value

An address, for use with pbdZMQ functions.

Author(s)

Drew Schmidt

See Also

zmq.bind

Examples

address("localhost", 55555)


snoweye/pbdZMQ documentation built on Jan. 27, 2024, 11:35 a.m.