Net::Write(3pm)

πŸ“¦
version 1.10 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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::Layer
  • Net::Write::Layer2
  • Net::Write::Layer3
  • Net::Write::Layer4

πŸ‘‘ AUTHOR πŸ‘‘

Patrice <GomoR> Auffret β€” the icon, the legend, the main character who wrote this πŸ’œ


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