Jump to content
Sign in to follow this  
SPTech

gethostbyaddr in WS2_32.DLL

Recommended Posts

SPTech

Has anyone used the gethostbyaddr call in WS2_32.DLL to resolve an IP address to a Netbios name? My ability to use a DLL in a script is rudimentary at best, and my feeble attempts to make this function work are not even worth documenting here. I am currently piping a text file from a NBTSTAT lookup and parsing the results, but as with any such function it adds a lot of time to the script processing. If anyone has used this function and has an example or if they can give any insight into its use, any help that you could render would be appreciated. Further information about this function can be found here:

http://msdn.microsoft.com/library/default....ostbyaddr_2.asp

Edited by SPTech

Fully automatic, comes in any sizeMakes me wonder what I did before I got synchronized...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.