connections(dad) | R Documentation |
Functions to open and close connection to a DandD Server. Usually this function is implicitly called by the function DandD.
openConn(address = Server$address) closeConn()
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. |
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
.
library(dad) .Server # ` `.Server$connected'' is null. openConn() .Server # If the connection were not successful, ``.Server$connected'' is null.