Python扩展库 SendPkt

码农软件 · 软件分类 · 网络工具包 · 2019-03-03 11:28:39

软件介绍

SendPkt 是一套同时可以运行在Linux/Win32的发送链路层数据包的Python扩展库。

SendPkt在Linux和Win32下实现方式是不同的,但是提供对Python的相同接口,确保Python程序可以不经过修改就可以移植。

在Win32下SendPkt使用WinPcap?中的 pcap_sendpacket() 函数发送数据包。

在Linux下SendPkt使用libnet的 libnet_adv_write_link() 函数发送数据包。

同时SendPkt还提供了查找网络接口设备的功能,以供发送数据包时选择。在Linux下虽然可以使用libnet自动选择的网络接口设备,但是在Win32下,默认的网络设备总会导致发包失败。所以为了可移植性,你必须在发送数据包时指定使用哪个网络设备接口。

本文地址:https://codercto.com/soft/d/526.html

Graph Algorithms

Graph Algorithms

Shimon Even / Cambridge University Press / 2011-9-19 / USD 32.99

Shimon Even's Graph Algorithms, published in 1979, was a seminal introductory book on algorithms read by everyone engaged in the field. This thoroughly revised second edition, with a foreword by Richa......一起来看看 《Graph Algorithms》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具