# ccnet **Repository Path**: constructor/ccnet ## Basic Information - **Project Name**: ccnet - **Description**: ccnet 是一个用 C 语言写网络程序的框架 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 56 - **Created**: 2015-02-05 - **Last Updated**: 2024-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![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