-
CAN网络与IP网络通信
void Task_Server(void *pdata) { SOCKET* s; int ei; //存放返回值的变量 int RecvCnt=0; //接收数据个数 uint8 RecvBuff[200]; //接收缓冲区 uint8 RecvBuffP=0; uint8 CanSUCCESS=0; struct sockaddr serveraddr,clientaddr; //sockaddr 结构体由协议栈类型、IP和端口组成 uint32 regaddrBYTE; serveraddr.sin_family = 0; //协议栈类型 serveraddr.sin_addr[0] = MCU_IP[0]; //四位IP地址 serveraddr.sin_addr[1] = MCU_IP[1]; serveraddr.sin_addr[2] = MCU_IP[2]; serveraddr.sin_addr[3] = MCU_IP[3]; serveraddr.sin_port = 4000; //服务器本地端口 s = socket(AF_INET,SOCK_STREAM,TCP_
- 2022-06-02 01:16:17下载
- 积分:1
-
ARP包的捕获分析(基于Libpcap下)
ARP包的捕获分析(基于Libpcap下)-ARP packet capture analysis (based on the next Libpcap)
- 2023-06-16 21:55:03下载
- 积分:1
-
输出netflow的小工具,可以用于netflow分析的测试
输出netflow的小工具,可以用于netflow分析的测试-NetFlow output of small tools, can be used for NetFlow analysis test
- 2022-01-25 17:15:56下载
- 积分:1
-
on Windows network programming tutorial for beginners, Windows display a variety...
关于Windows网络编程初学者教程,Windows展示了各种I/O方法,详细描述了高性能、可扩展的服务器开发过程,并给出了详细代码。将编程、网络协议和应用实例有机地结合起来,详细介绍了互联网广播和IP组播,原有的socket、SPI、LAN和WAN上的扫描和检测技术,网络和数据的防盗保护,欺骗ARP,IP欺骗。详细介绍了协议驱动的演示开发过程,NDIS编程接口。在编程实践中学习P2P程序设计,讨论了防火墙的渗透,NAT直接建立UDP和TCP到各个程序的连接。Windows包含一个完整的个人防火墙代码示例
- 2023-02-01 09:10:03下载
- 积分:1
-
cc2431无线芯片的抓包工具,可以通过usb口连接单片机,然后显示MAC层的包的详细内容
cc2431无线芯片的抓包工具,可以通过usb口连接单片机,然后显示MAC层的包的详细内容-cc2431 radio chip capture tool, you can connect through the usb port single-chip, and then show the MAC Layer packet details
- 2022-10-25 14:40:03下载
- 积分:1
-
n在VB书通过新浪爬虫写了很长一段时间,现场采集…
N久前用VB写的新浪图书抓取工具,需要用网站采集然后用这个工具进行配合抓取-N a long time before the VB books written by Sina crawlers, site acquisition and then need to use this tool with the Crawl
- 2022-01-25 23:22:37下载
- 积分:1
-
ARP simulation program: This program is divided into two subroutines, namely arp...
ARP模拟程序:本程序分为两个子程序,分别是arpsrc ,arptarget ;arpsrc用来模拟一台主机用来发送一个ARP的询问包,arptarget用来模拟接受ARP包的主机,对不同的ARP询问包进行处理。-ARP simulation program: This program is divided into two subroutines, namely arpsrc, arptarget arpsrc used to simulate a host to send an ARP inquiry packet, arptarget used to simulate the acceptance of ARP packet the host, asked whether the different ARP packet for processing.
- 2023-07-05 14:30:03下载
- 积分:1
-
listed ip address an application
罗列ip地址的一个应用-listed ip address an application
- 2022-04-28 08:13:24下载
- 积分:1
-
捕获IP数据包的小程序
支持TCP和UDP等协议。
捕获IP数据包的小程序
支持TCP和UDP等协议。-IP packet capture program to support small TCP and UDP protocols.
- 2023-03-27 07:40:03下载
- 积分:1
-
本设计的功能是填充一个TCP数据包,并发送给目的主机。
程序具体要求如下:
1) 以命令行形式运行:SendTCP、source_ip、source_p...
本设计的功能是填充一个TCP数据包,并发送给目的主机。
程序具体要求如下:
1) 以命令行形式运行:SendTCP、source_ip、source_port、dest_ip、dest_port,其中SendTCP是程序名,source_ip为源端IP地址,source_port为源端口号,dest_ip为目的地址,dest_port为目的端口号;
2) 其他的TCP头部参数请自行设定;
3) 数据字段为“This is my homework of network ,I am happy !”
4) 成功发送后在屏幕上输出“Send OK” 。
-The design features are filled with a TCP packet, and send the purpose of the host. Program specific requirements are as follows: 1) to form the command line run: SendTCP, source_ip, source_port, dest_ip, dest_port, which are SendTCP program name, source_ip client IP address as the source, source_port as the source port number, dest_ip for the purpose of the address, dest_port for the purpose of port number 2) the head of other TCP parameters at your own settings 3) data fields for the This is my homework of network, I am happy! 4) successfully sent the output on the screen after the Send OK .
- 2023-01-12 02:10:04下载
- 积分:1