Ccnet is a framework for writing networked applications in C. It provides the following basic services:
- Peer identification
- Connection Management
- Service invocation
- Message sending
In ccnet network, there are two types of nodes, i.e., client and server. Server has the following functions:
- User management
- Group management
- Cluster management
The following packages are required to build ccnet:
valac >= 0.8
libsearpc
libmysqlclient-dev for compiling ccnet server
libzdb >= 2.10.2
To compile the client components, just
./autogen.sh; ./configure; make; make install
To also compile the server components, use
./configure --enable-server
In Mac OS, use
LDFLAGS="-L/opt/local/lib -L/usr/local/mysql/lib -Xlinker -headerpad_max_install_names" ./configure --enable-server