Scroll to navigation

Net::NBName::NameQuery(3pm) User Contributed Perl Documentation Net::NBName::NameQuery(3pm)

NAME

Net::NBName::NameQuery - NetBIOS Name Query Response

DESCRIPTION

Net::NBName::NameQuery represents a decoded NetBIOS name query response.

METHODS

$nq->addresses
Returns a list of ip addresses returned for the queried name. These are returned as a list of "Net::NBName::NameQuery::RR" records.

Most name queries will only return one ip address, but you will get multiple ip addresses returned for names registered by multihomed hosts or for group name queries.

$nq->ttl
Time to live. This is the lifespan of the name registration.
$nq->RA
Recursion available. This flag is typically set if the responding host is an NBNS server, and can be used to determine if it was an NBNS server that responded.
$nq->as_string
Returns the object's string representation.

SEE ALSO

Net::NBName

COPYRIGHT

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.

2022-06-16 perl v5.34.0