Jump to content
Sign in to follow this  
McGod

Hmm hosts by IPs

Recommended Posts

McGod

I know u can do it by using DllCalls, although C++ and Dlls are like physics to me. (Aka I dont know ANYTHING), I need to get the host for a server im working on. I know Ive got some code Ive searched for,

$rep=dllstructcreate("long;long;long")
$test = DllCall("WS2_32.DLL","ptr","gethostbyaddr","string","74.13.45.65","int",4,"int","AF_INET")

I dunno how to use it. I'm a total noob on this :/

Sexc new Posting Screen for v2.2:O

Edit:

Ty, I was searching gethostbyaddr, so I guess it didnt get picked up.

Edited by Chip

Share this post


Link to post
Share on other sites
Jos

maybe : http://www.autoitscript.com/forum/index.ph...st&p=267014

Will be include in the next release ...


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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.