Implements a [persistent] executor/server for the remote process. Awaits data, evaluates an expression in an environment containing the supplied data, and returns the result to the caller/client.

server(.url, daemon = TRUE)

Arguments

.url

the client URL and port to connect to as a character string e.g. 'tcp://192.168.0.2:5555'.

daemon

[default TRUE] launch as a persistent daemon or, if FALSE, an ephemeral process.

Value

Invisible NULL.

About

The network topology is such that server daemons dial into the client, which listens at the '.url' address. In this way, network resources may be added or removed at any time and the client automatically distributes tasks to all available servers.