Sign in to follow this  
Followers 0
McGod

Hmm hosts by IPs

2 posts in this topic

#1 ·  Posted (edited)

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



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  
Followers 0