Acl desktop
Two communication methods, when used as a server, support the interface usage similar to JAVA HttpServlet. In addition, the HTTP protocol supports server and client in C++ version of lib_acl_cpp. It mainly supports common network application protocols, such as: HTTP, SMTP, ICMP, in which HTTP and ICMP modules implement blocking and non-blocking communication methods.Support non-blocking mode connection, read (by row read, specified length read), write (write line, write specified length, write a set of data) and other operations.Ĭommon network application protocol library.This module mainly supports network server monitoring (supports TCP/UDP/UNIX domain socket), network client connection (supports TCP/UNIX domain socket), DNS domain name query and result cache (supports calling system gethostbyname/getaddrinfo function and direct Send DNS protocol two ways), socket (socket) operation and take the local network card and other functions.Obtain the local address and remote address of the network stream.Get the current file stream pointer location, similar to ftell.Write a set of data at once, similar to writev under unix.
File stream location operation, similar to fseek.Write data by formatter, similar to fprintf.Try to read a row of data or try to read the specified length of data.Read data by line but require automatic removal of the trailing \n or \r\n.Read data by line, compatible with \r\n under win32, and compatible with the end of \n under UNIX.It not only supports network streaming, but also supports file streaming. This module is the most basic streaming communication module for the entire acl network communication. Precautions when compiling on WindowsĪs a C/C++ foundation library, Acl provides many useful functions for users to develop applications, including six important modules: Network, Coroutine, HTTP, Redis client, MQTT, and Server framework. Using Acl library users can write database application more easily, quickly and safely. Acl also provides unified abstract interface for popular databases such as Mysql, Postgresql, Sqlite. The common protocols such as HTTP/SMTP/ICMP//MQTT/Redis/Memcached/Beanstalk/Handler Socket are implemented in Acl, and the codec library such as XML/JSON/MIME/BASE64/UUCODE/QPCODE/RFC2047/RFC1035, etc., are also included in Acl. There are some important modules in Acl project, including network communcation, server framework, application protocols, multiple coders, etc. Many applications written by Acl run on these devices with Linux, Windows, iPhone and Android and serve billions of users. The Acl (Advanced C/C++ Library) project a is powerful multi-platform network communication library and service framework, suppoting LINUX, WIN32, Solaris, FreeBSD, MacOS, AndroidOS, iOS. 中文简体 Acl - One Advanced C/C++ Library for Unix/Windows 0.