reverse DNS in C?
hiho@ll
i just wrote a server who needs to make a RDNS to get the hostname of the ip who just connected to my server anybody knows a C-function or a prog, which could do this for me? thx@ll |
i'm not a programmer, but from what i googled i think what you want might be:
Code:
gethostbyaddr() BTW, i've asked a moderator to move your thread to the programming forum so that it will be more exposed to programmers... |
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
|
I've used this in a program to do that:
Code:
char *ip_to_hostname(char *hostname) |
All times are GMT -5. The time now is 07:12 PM. |