网络编程
一尺丈量
春风写意,万物屠苏。
展开
-
boost.asio同步TCP客户端封装
头文件 #pragma once #ifndef TCP_CLIENT_H #define TCP_CLIENT_H #include <boost/asio.hpp> #include <string> using namespace boost; class TcpClient { public: TcpClient(const std::string&am...原创 2019-10-29 09:57:31 · 778 阅读 · 0 评论 -
IP/TCP回顾
1. 当IP层进行分片时,任何运输层首部只出现在第一片数据中。原创 2017-07-25 16:10:53 · 339 阅读 · 0 评论