C + + hand training project (simple HTTP webserver based on muduo network library + mysql+jsoncpp for web page display database background data)

Project introduction Project github: github link This project is based on C + + language, Mr. Chen Shuo's muduo network library, mysql database and json CPP. The server listens to two ports, one for processing http requests and the other for processing json data sent. This project cooperates with a qt+opencv license plate recognition front ...

Added by clarky08 on Wed, 02 Feb 2022 03:21:07 +0200

muduo Learning Notes: Implementing TCP Network Programming Library-Connector in the net section

Similar to TcpServer passively accepting connections using Acceptor, TcpClient actively initiates connections using Connector. Several key points used by Connector: In non-blocking network programming, the basic way to initiate a connection is to call connect(2), which indicates that the connection has been established when the socket becomes ...

Added by JasonMWaldo on Fri, 03 Sep 2021 19:29:20 +0300