1. 首页
  2. 网络技术
  3. 网络基础
  4. SendTCP文档

SendTCP文档

上传者: 2019-05-22 19:30:16上传 DOC文件 74KB 热度 31次
设计一个发送TCP数据包的程序(100分)设计要求:1)以命令行形式运行:SendTCPsource_IPsource_portdest_ipdest_port其中,SendTCP为程序名,source_IP为源端IP地址,source_port为源端口,dest_ip为目的IP地址,dest_port为目的端口2)其他的TCP头部参数请自行设定。3)数据字段为“Thisismyhomeworkofnetwork,Iamhappy!”.4)成功发送后在屏幕上输出“SendOK”。
下载地址
用户评论