Query: net::write::layer2
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Net::Write::Layer2(3pm) User Contributed Perl Documentation Net::Write::Layer2(3pm)NAMENet::Write::Layer2 - object for a link layer (layer 2) descriptorSYNOPSISuse Net::Write::Layer2; my $desc = Net::Write::Layer2->new( dev => 'eth0', ); $desc->open; $desc->send('G'x666); $desc->close;DESCRIPTIONThis is the class for creating a layer 2 descriptor.ATTRIBUTESdev 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}METHODSnew 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.CAVEATSWriting junk to loopback interface on BSD systems will not work.SEE ALSONet::Write::LayerAUTHORPatrice <GomoR> AuffretCOPYRIGHT AND LICENSECopyright (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)
Similar Topics in the Unix Linux Community |
---|
commonc++ 0.4.4 (Default branch) |
commonc++ 0.4.5 (Default branch) |
commonc++ 0.5 (Default branch) |
commonc++ 0.5.1 (Default branch) |
24 Great Open Source Apps for Admins & Technicians |