C++ 网络
逗神大人
C++程序员,也会点Java,Kotlin, Swift,Python,Golang, C#, 但技术相对比较菜,用到啥就学啥,用不上的一会就忘了
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
libcurl 的简单使用
使用方法 #include <iostream> int main(int,char**) { curl::easy easy; if (!easy) { std::cerr << "curl::easy::init failed" << std::endl; return 1; } easy.se...原创 2020-04-02 09:40:43 · 392 阅读 · 0 评论 -
C++ 网络库 cpp-netlib的简单使用
示例代码 (C++11, cpp-netlib版本:0.12.0) 需要链接库文件 target_link_libraries(app boost_system network-uri cppnetlib-server-parsers ) #include <network/uri.hpp> #include <nlohmann/json.hpp...原创 2019-10-29 18:40:06 · 6126 阅读 · 0 评论 -
个人开发库se之http
由于项目需要,也为了能对C++编程有更深入的了解,特积累开发此个人库,目前正处于开发中,希望有大牛看到给一些指导意见以下是项目的git地址: https://github.com/GitOyoung/SE.git原创 2017-05-04 16:38:31 · 1201 阅读 · 0 评论 -
C++ 网络编程之使用socket + epoll 模拟http 的请求与响应
为了更好的理解http协议,笔者使用了C++/socket模拟了一个http服务器, 其中的服务器使用了epoll的方式,并针对每一个新的连接开启新线程处理 大致分为三个部分,具体代码可见 1. socket 接入部分 #include #include #include #include #include #include #include #include #i原创 2018-01-25 13:34:35 · 1867 阅读 · 0 评论
分享