kadavris / ap-multiconn-toolkit

TCP/UDP Connections Pool manager with additional utility functions. Plain C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

     A pool/array/list/set of IP Connections.

The library incorporates control mechanisms for managing multiple simultaneous TCP and UDP connections
at the client or server side. Some additional utility functions available.

The code is written in plain C to maximize compatibility and consists mainly of epoll-driven connections pool module.

The intended usage is to periodically call state checking function(s) on pool(s)
that will emit call-back events for immediate user awareness of activity behind the connections.
Much of the dirty work is done inside the library.

The input on connections is performed asynchronously by default and output can be either sync or async.

NOTE: Because of epoll usage the library is Linux-only for the moment,
but effort was made to allow adopting other techniques in the future by some small changes to the code and logic.

The minor part of toolkit is a bunch of small utility functions that can be useful apart from networking module.
These include tricky logging with multiple output channels, strings and time values manipulation, etc.

Please see docs/* files for quick start examples and doxygen/index.html or source files for API documentation.

Original code by Andrej Pakhutin (pakhutin@gmail.com), 2013
* Main repository at the github: git clone https://github.com/kadavris/ap-multiconn-toolkit.git
* Secondary at sourceforge: git clone git://git.code.sf.net/p/apstoolkit/code apstoolkit-code
* Compiled libraries at sourceforge: http://sourceforge.net/projects/apstoolkit/files/?source=navbar

About

TCP/UDP Connections Pool manager with additional utility functions. Plain C.

License:GNU General Public License v2.0


Languages

Language:C 98.8%Language:Makefile 1.2%