GitBucket
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
pengxianhong
/
casic_unitree_dog
Browse code
refactor(tcp_service): 重构 TCP 服务处理客户端的方式
-将 handle_client 函数改为类成员函数 - 使用 std::thread 在单独的线程中处理每个客户端连接 - 优化了连接接受和处理的逻辑 -调整了输出信息的格式
master
1 parent
5232570
commit
5d6f5abc6ca7b2f92974313ebf8525163ff12884
pengxianhong
authored
on 20 Mar
Patch
Unified
Split
Showing
2 changed files
src/tcp_service.cpp
src/tcp_service.hpp
Ignore Space
Show notes
View
src/tcp_service.cpp
Ignore Space
Show notes
View
src/tcp_service.hpp
Show line notes below