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

Mastering JavaServer Faces

Mastering JavaServer Faces

Bill Dudney、Jonathan Lehr、Bill Willis、LeRoy Mattingly / Wiley / 2004-6-7 / USD 40.00

Harness the power of JavaServer Faces to create your own server-side user interfaces for the Web This innovative book arms you with the tools to utilize JavaServer Faces (JSF), a new standard that wi......一起来看看 《Mastering JavaServer Faces》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

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

html转js在线工具