Problem with gethostbyaddr function

Home Forums Discussions General Discussion Problem with gethostbyaddr function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5233


    I’m developing an application and I want to get the host name from an IP address.
    I am using gethostbyaddr function, but the firewall on the machine the application is running pops up with a warning that my application is trying to access the network. There is another function for this, getnameinfo, and the pop up doesn’t appear, but it only works for XP or later. On Windows 2000 the pop up still appears.
    Is there any other function that works on Win 2000 that I can use?




    the fucked virus software,gethostbyaddr is a normal function. but the silly virus software still hook it.

    i can get the 20 bytes from the gethostbyaddr,then jmp to the aftter 20 bytes! 🙂 :mrgreen:

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.