Net::Write(3pm)
π Net::Write β bestie edition π
okay so you found Net::Write(3pm) in the wild and you're like "what is this" β don't worry, I got you. it's a Perl module, it lives in the User Contributed Perl Documentation part of your man pages, and it's basically your backstage pass to the network layer of your choosing. let's go π¦
β¨ NAME β¨
Net::Write β a portable interface to open and send raw data to network. yes, raw. we're not being polite here, we're writing straight to the wire π
πΈ DESCRIPTION πΈ
okay so Net::Write gives you a portable interface to open a network interface and just⦠write raw data directly to the network. iconic behavior honestly.
and here's the cute part: once you've made a Net::Write object for an interface, it literally only gives you three methods, and they're exactly the three you'd expect:
openπsendπcloseπ€
that's it. that's the whole API. minimalism, she ate.
so you can open a network interface to send frames at layer 2 (you craft a frame from the link layer), or at layer 3 (you craft a frame from the network layer), or at layer 4 (you craft a frame from the transport layer). pick your fighter β¨
β οΈ 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. so if you're on Windows and trying to vibe at layer 3, that's a you problem, bestie π
π SEE ALSO π
go read your sisters, they're all slaying in their own lane:
Net::Write::LayerNet::Write::Layer2Net::Write::Layer3Net::Write::Layer4
π AUTHOR π
Patrice <GomoR> Auffret β the icon, the legend, the main character who wrote this π
π COPYRIGHT AND LICENSE π
Copyright (c) 2006-2015, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
and that's the whole page, periodt π«Ά this version came to you courtesy of perl v5.36.0 and it was dated 2022-10-13, so like, treat it with the respect of a slightly vintage baddie π no cap, go write some raw frames. bye bestie π¦β¨
π¦ where this page comes from
- ubuntu noble: libnet-write-perl 1.10-3 Β· Artistic-1.0-Perl
- ubuntu resolute: libnet-write-perl 1.10-3 Β· Artistic-1.0-Perl
- ubuntu stonking: libnet-write-perl 1.10-3 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms