Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

muduo

> 编程语言
Open source

Event-driven network library for multi-threaded Linux server in C++11

16.2K stars0 likes3 views
WebsiteGitHub

About

Event-driven network library for multi-threaded Linux server in C++11

Muduo is a multithreaded C++ network library based on the reactor pattern.

http://github.com/chenshuo/muduo

Copyright (c) 2010, Shuo Chen. All rights reserved.

Use of this source code is governed by a BSD-style license that can be found in the License file.

Requires: Linux kernel version >= 2.6.28. GCC >= 4.7 or Clang >= 3.5 Boost (for boost::any only.)

Tested on: Debian 7 and above Unbuntu 14.04 and above CentOS 7 and above

Install required packages:

Debian, Ubuntu, etc.

$ sudo apt install g++ cmake make libboost-dev

CentOS

$ sudo yum install gcc-c++ cmake make boost-devel

See .travis.yml for additional packages for building more examples.

To build, run: ./build.sh

See https://github.com/chenshuo/muduo-tutorial for how to use muduo in your project.


| / | | | | \ / |_ _ | |_ _ ___ | |/| | | | |/ ` | | | |/ _
| | | | |
| | (| | || | () | || ||_,|_,|_,_|_
/

Issues· 86 open

View all issuesOpen on GitHub
  • #740

    Build errors for C++ 15 or higher

    Updated Sep 17, 2026
  • #730

    EventLoopThread::startLoop()中为什么需要创建局部变量loop?是否可以返回loop_?

    Updated Mar 17, 2026
  • #734

    ttcp_asio_async.cc compilation failure with Boost >= 1.74

    Updated Feb 26, 2026
  • #728

    [bug] Controllable stack overflow in `muduo::TimeZone::loadZoneFile` through crafted timezone file

    Updated Oct 31, 2025
  • #724

    ./muduo/net/EventLoopThreadPool.cc:42:14: error: variable length arrays in C++ are a Clang extension

    Updated Sep 16, 2025
  • #725

    安装muduo库 一直报链接错误找不到boost里面的函数 帮帮孩子吧

    Updated Jul 22, 2025
  • #722

    Build Error

    Updated Mar 28, 2025
  • #720

    Build Error!!! How to fix it?

    Updated Mar 9, 2025
  • #721

    Build Error !!

    Updated Mar 6, 2025
  • #714

    Build error

    Updated Jan 9, 2025

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言