would like to know how this function (gethostbyaddr) works? because when i use this with one ip like gethostbyaddr("192.168.10.10"), its output is still the ip which is an error but when i try to put its computer name to gethostbyname function like gethostbyname("computer01"), its output is the ip 192.168.10.10, which mean that it works properly. So i would like to know why gethostbyname works while gethostbyaddr does not work at the same time and almost same configuration? please help and thanks in advance..

    Write a Reply...