
Command: dadDoConnect
Opens a DAD connection.
dadDoConnect name servername type port
[dataflow [keytable] [-urbwgkmz]
- The string name defines the name for the PinK object you
want to create.
- The servername either contains the name of the host
where the server is expected to be running or the name of a local
UNIX socket filename. If a pipe or file is the specified connection
this name refers to the unix file name.
- The type is either:
- 'INET' for a internet socket connection,
- 'UNIX' for a local unix socket connection,
- 'RFIL' for reading from a dad file,
- 'WFIL' for writing to a dad file,
- 'RPIP' for reading from a dad pipe,
- 'WPIP' for writing to a dad pipe.
- The port contains the port number of the external
host where the server is listening for clients or 0 in the case
of a local connection.
- The argument dataflow gives the ADAMO name of the
dataflow you want to access. This argument can be ommitted if for
'RFIL' and 'RPIP' connections.
- The keytable may contain the PinK name of the keytable if
the -k flag is specified. The keytable has to be created
before calling dadDoConnect.
- The flags specify the operation mode for the database
access. You may use
- -r for reading information from the connection,
- -w for writing information to the connection,
- -u for the updating scheme,
- -b for booking new information on a server,
- -g if the Adamo tables should be generated while
connecting (you'll need this in most cases
together with the flag -r),
- -k for access to the keytable,
- -m open connection in multi mode,
- -z switch on compression.
See also:
Previous
Up
Next
This page is maintained by
pink@hermes.desy.de;
last modification: Jan 27 1997 .