Instantiate a NetBIOS instance, and creates a IPv4 UDP socket to listen/send NBNS packets.
Parameters: |
|
---|
Close the underlying and free resources.
The NetBIOS instance should not be used to perform any operations after this method returns.
Returns: | None |
---|
Send a query to the machine with ip and hopes that the machine will reply back with its name.
The implementation of this function is contributed by Jason Anderson.
Parameters: |
|
---|---|
Returns: | A list of string containing the names of the machine at ip. On timeout, returns None. |
Send a query on the network and hopes that if machine matching the name will reply with its IP address.
Parameters: |
|
---|---|
Returns: | A list of IP addresses in dotted notation (aaa.bbb.ccc.ddd). On timeout, returns None. |