
网络编程
Easadon
The one who can beat me is only me.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TCP/IP socket通信简单案例
server.cpp #include <iostream> #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> #include <string.h> #include <arpa/inet.h> #include <netinet/in.h> #include <unistd.h> using namespace std;原创 2020-09-06 17:39:54 · 452 阅读 · 0 评论 -
Ping命令初识
1.ping命令认识 (1)ping:ping命令发送数据使用的是ICMP协议 (2)ICMP协议:Internet Control Message Ptotocol(因特网控制消息协议),属于TCP/IP协议簇的一个子协议,用于在IP主机、路由器之间传递控制消息 (3)ping :因特网包探索器,用于测试网络连接量的程序。ping发送一个ICMP,回声请求消息给目的地并报告是否收到所希...原创 2019-08-12 11:46:00 · 225 阅读 · 0 评论