#include #include ... gethostbyaddr() then does a reverse name lookup to find out what name this address has. ... visit for more details
www.unix.com/unix-dummies-questions-answers/39532-how-use-gethostbyaddr-function.htmlPosted by waqasahmad gethostbyaddr(char *addr, int len, int type): converts IP hostname to structure containing long integerPosted by mariuspaul