[![Build Status](https://secure.travis-ci.org/haiwen/ccnet.png?branch=master)](http://travis-ci.org/haiwen/ccnet)

Ccnet is a framework for writing networked applications in C. It
provides the following basic services:

1. Peer identification
2. Connection Management
3. Service invocation
4. Message sending

In ccnet network, there are two types of nodes, i.e., client and server.
Server has the following functions:

1. User management
2. Group management
3. Cluster management

Dependency
==========

The following packages are required to build ccnet:

    valac >= 0.8
    libsearpc
    libmysqlclient-dev for compiling ccnet server
    libzdb >= 2.10.2

Compile
=======

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
