connections {dad}R Documentation

Functions to Open and Close Connection to a DandD Server

Description

Functions to open and close connection to a DandD Server. Usually this function is implicitly called by the function DandD.

Usage

openConn(address = Server$address)
closeConn()

Arguments

address IP Address of DandD Server. By default it is set the ``address'' component of the current DandD Server descriptor .Server stored in ``package:dad'' environment.

Details

openConn creates a socket and establish a connection to the specified DandD Server. If the connection is successful, the ``connected'' component is created in the current DandD Server descriptor .Server.

See Also

DandD, setDandDServer.

Examples

library(dad)
.Server #  ` `.Server$connected'' is null.
openConn()
.Server # If the connection were not successful,   ``.Server$connected'' is null.

[Package Contents]