自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 hhhijjjjjjj

7.9.10.11.12.13.14.int strLen;15.16.17.18.19.if(argc!=2) {exit (1);20.2122.");23.24.25.26.21 •28.29.30.31.32.33.34.35.36.37.while(1)38.39.40.41.42.43.44.45.46.return 0;47. }48.50. {51.52.

2023-05-08 14:36:10 67

原创 hhbhh

int strLen;if(argc!=2) {exit (1);");while(1)return 0;exit (1);。。。。。。。。int strLen;if (argc!=3) {exit (1);");while(1)break;return 0;exit (1);

2023-05-08 14:31:29 166

原创 正确的做法

Copy= 0) {return 1;return 1;return 1;return 1;return 1;} else {return 1;return 1;return 0;TCP客户端程序:c++Copy= 0) {return 1;return 1。

2023-04-26 11:18:19 134

原创 第五次的实验

【代码】第五次的实验。

2023-04-26 11:16:50 54

原创 正确的选择

【代码】正确的选择。

2023-04-26 11:14:09 51

原创 第五次对实验

然后,它监听连接请求,并使用accept()函数接受客户端连接请求。然后,它监听连接请求,并使用accept()函数接受客户端连接请求。接受连接请求:使用accept()函数接受客户端连接请求,并返回一个新的socket描述符。绑定IP地址和端口号:使用bind()函数将IP地址和端口号绑定到socket。创建一个socket:使用socket()函数创建一个TCP socket。接收和发送数据:使用recv()和send()函数接收和发送数据。监听连接请求:使用listen()函数监听客户端连接请求。

2023-04-26 11:02:06 45

原创 tcpip

printf("目的端口号:%d\n",ntohs( *(unsigned short*)decodeptr ) );printf("源端口号:%d\n",ntohs( *(unsigned short*)decodeptr ) );printf("窗口大小:%d\n", ntohs(*(unsigned short *)decodeptr));printf("校验和:%d\n", ntohs(*(unsigned short *)decodeptr));//32位目的IP地址。//16位目的端口号。

2023-04-24 14:33:05 33

原创 实验四tcpIP

printf("目的端口号:%d\n",ntohs( *(unsigned short*)decodeptr ) );printf("源端口号:%d\n",ntohs( *(unsigned short*)decodeptr ) );printf("窗口大小:%d\n", ntohs(*(unsigned short *)decodeptr));printf("校验和:%d\n", ntohs(*(unsigned short *)decodeptr));//32位目的IP地址。//16位目的端口号。

2023-04-24 14:29:46 50

原创 笔记:第七天

2022-10-14 00:21:08 95

原创 笔记:第六天

2022-10-14 00:20:22 130

原创 笔记:第五天

2022-10-14 00:19:37 68

原创 笔记:第四天

2022-10-14 00:18:40 662

原创 笔记:前三天

2022-10-14 00:17:32 771

原创 OSPF综合实验

2022-10-14 00:02:05 72

原创 GRE 和MGRE

2022-09-22 18:43:36 82

原创 MGRE环境下的OSPF实验

2022-09-22 18:33:52 53

原创 GRE和MGRE

2022-09-22 18:30:58 76

原创 在Linux中配置team的activebackup模式,配置桥接并抓包

2022-01-11 02:28:01 504

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除