Net::N...eStatus(3pm)

πŸ“¦
version 0.26 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Net::NBName::NodeStatus β€” it's giving NetBIOS Node Status Response, bestie. That's the whole vibe. (Also, hi, you're reading the User Contributed Perl Documentation version of this page, so like... you're in the right place fr fr πŸ’…)


🌸 DESCRIPTION 🌸

okay so. Net::NBName::NodeStatus is a whole little object that represents a decoded NetBIOS node status response. That's it, that's the job. Somebody out there goes and does the NetBIOS networking thing, and this class is the glow-up where all that raw response data gets turned into something you can actually read and poke at. Iconic behaviour, honestly. πŸŽ€


✨ METHODS ✨

$ns->names

Returns a list of NetBIOS names registered on the responding host. πŸ’«

These come back as a list of Net::NBName::NodeStatus::RR objects β€” so yes, each name is its own whole lil object, main character energy, we love that for them.

$ns->mac_address

Returns the MAC address of the responding host. πŸ¦‹

lowkey important caveat: not all systems will respond with the correct MAC address. That said, during testing, all Windows-based systems did. So like… mostly good? but don't come for me if your weird little device lies about its MAC. 😭

$ns->as_string

Returns the object's string representation. Simple. Clean. A lil stringy summary of the whole thing, no notes. periodt. ✨


πŸ‘€ SEE ALSO πŸ‘€

  • Net::NBName β€” the parent vibe, go read it, iykyk

Copyright (c) 2002, 2003, 2004 James Macfarlane. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


okay bestie that's the whole page πŸ’– thank you for coming to my ted talk, this was perl v5.36.0, dated 2022-10-15, and you ate. no crumbs. πŸ«ΆπŸŒΈπŸ’…

πŸ“¦ where this page comes from