in reply to How to make a WINS query using IO::Socket?

Perhaps you can use the nmblookup and smbclient commands from Samba to make your request without touching to sockets and the WINS protocol ...

However, if you really want to use sockets and the WINS protocol you should read the IO::Socket::INET man page, and the RFC of the NetBIOS protocol, RFC1001 and RFC1002

  • Comment on Re: How to make a WINS query using IO::Socket?

Replies are listed 'Best First'.
Re: Re: How to make a WINS query using IO::Socket?
by Kickstart (Pilgrim) on Jun 19, 2002 at 16:27 UTC
    Unfortunately no...our ultimate goal is to be able to enter a username on the command line and retrieve IP addresss, machine name, etc. from that.

    WINS stores the username and will display it (via nmblookup) if supplied with an IP address, but as far as I can tell no tools have been written to go the other way.

    ....I guess I will have to read the 1000 page RFCs - Gah!