资 源 简 介
Notes
Please use SVN to get the newest code.
Introduction
libtrans is an arch-independant library of event-driven socket based on libev in UNIX-like system.
* libev is better than libevent.http://software.schmorp.de/pkg/libev.html
* support TCP/UDP (Multi-homing SCTP very soon) for IPv4 and IPv6. Configurable, and support multicast and broadcast, etc.
* good performance and high reliability. It is designed for the concurrency server.
* light-weight, has thread pool and sockets pool.
* Implemented in C, developed in windows+cygwin+eclipse CDT environment
* Arch-independant library. Can be cross-compiled to UNIX-like system for both big and little endian, 32bit or 64bit.
Functionalities
(tlog.h, tlog.c) a light-weighted debugger loger that follows the syslog type, can integrate or seemlessly work with syslog
(tsock.h, tsock.c) a common wrapper for IPv4 and IPv6 socket for TCP/UDP and SCTP
(trans.h, trans.c) ev