External Connection Configuration


Instead of defining the connection parameters (hostname, port or socket name) statically in the program, Dad offers also the possibility to read in external configuration files which contain this connection parameters. In this case the function dadDoConnect should be replaced by the three functions of dadHost, dadInit and dadConnect.

Following this scheme a client does not have to know which server serves which dataflow but it simply connects to the dataflow itself. In later version of dad this method also offers a distributed serving of data, i.e. a client connects automatically to this mirror of the dataflow information which currently offers the best network connection and is under a low load.


This page is maintained by Wolfgang Wander.