Net::Write::Layer3 - object for a network layer (layer 3) descriptor
require Net::Write::Layer3; my $desc = Net::Write::Layer3->new( dev => $networkInterface, dst => $targetIpAddress, ); $desc->open; $desc->send($rawStringToNetwork); $desc->close;
This is the class for creating a layer 3 descriptor.
The string specifying network interface to use.
The target IP address we will send frames to.
See Net::Write::Layer for inherited methods.
Patrice <GomoR> Auffret
Copyright (c) 2006, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See Copying file in the source distribution archive.
Net::Packet, Net::RawIP, Net::RawSock
To install Net::Write, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Write
CPAN shell
perl -MCPAN -e shell install Net::Write
For more information on module installation, please visit the detailed CPAN module installation guide.