Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::write(3pm) [debian man page]

Net::Write(3pm) 					User Contributed Perl Documentation					   Net::Write(3pm)

NAME
Net::Write - a portable interface to open and send raw data to network DESCRIPTION
Net::Write provides a portable interface to open a network interface, and be able to write raw data directly to the network. It juste provides three methods when a Net::Write object has been created for an interface: open, send, close. It is possible to open a network interface to send frames at layer 2 (you craft a frame from link layer), or at layer 3 (you craft a frame from network layer), or at layer 4 (you craft a frame from transport layer). NOTE: not all operating systems support all layer opening. Currently, Windows only supports opening and sending at layer 2. Other Unix systems should be able to open and send at all layers. SEE ALSO
Net::Write::Layer, Net::Write::Layer2, Net::Write::Layer3, Net::Write::Layer4 AUTHOR
Patrice <GomoR> Auffret COPYRIGHT AND LICENSE
Copyright (c) 2006-2009, Patrice <GomoR> Auffret You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive. perl v5.10.1 2009-06-10 Net::Write(3pm)

Check Out this Related Man Page

Net::Write::Layer2(3pm) 				User Contributed Perl Documentation				   Net::Write::Layer2(3pm)

NAME
Net::Write::Layer2 - object for a link layer (layer 2) descriptor SYNOPSIS
use Net::Write::Layer2; my $desc = Net::Write::Layer2->new( dev => 'eth0', ); $desc->open; $desc->send('G'x666); $desc->close; DESCRIPTION
This is the class for creating a layer 2 descriptor. ATTRIBUTES
dev The string specifying network interface to use. Under Unix-like systems, this is in this format: w+d+ (example: eth0). Under Windows systems, this is more complex; example: DeviceNPF_{0749A9BC-C665-4C55-A4A7-34AC2FBAB70F} METHODS
new Object constructor. You MUST pass a valid dev attribute. There is no default value. open Open the interface. send (scalar) Send raw data to the network. close Close the descriptor. CAVEATS
Writing junk to loopback interface on BSD systems will not work. SEE ALSO
Net::Write::Layer AUTHOR
Patrice <GomoR> Auffret COPYRIGHT AND LICENSE
Copyright (c) 2006-2009, Patrice <GomoR> Auffret You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive. perl v5.10.1 2009-06-10 Net::Write::Layer2(3pm)
Man Page