Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IPMac scanner
#14
I know only this, but should be a better way. This does not support Unicode. Also appends some text.

Macro Macro1448
Code:
Copy      Help
GetIpAddress "" _s ;;just to call WSAStartup
int ia=inet_addr(IP)
hostent* hp = gethostbyaddr(+&ia 4 AF_INET)
out hp.h_name


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)