#include <cat/boks.h>
int catboks_init(unsigned short port, char *nodekey, int cachettl, char *myaddress, int nservers, char **servers);
The port, if non-zero, is the Keon 4.x domain port (with default value 6500).
The nodekey argument is the Keon 4.x node key for the local host, either in plain text or as the hash used in BoKS key files.
The cachettl argument defines the time-to-live for cached results. If cachettl is zero, caching is disabled; if cachettl is negative, a default value of 120 seconds is used.
The myaddress argument is optional. myaddress can be set to an IP address, in dotted-decimal format, for inclusion in the protocol headers where it identifies the current host. This may be necessary for machines with multiple interfaces or if calls pass through a firewall.
A specific list of Keon 4.x servers can be specified in the servers array. This array specifies the hostnames of the servers as strings. nservers is the number of servers in the servers array.
NULL
prog argument.