I wish to use "gethostbyname" in my Suse m/c but it is not returning any structure.
but on the other systems it is working fine what could be the issue with my m/c ??
I wish to use "gethostbyname" in my Suse m/c but it is not returning any structure.
but on the other systems it is working fine what could be the issue with my m/c ??
Note that the new way of doing it is using getaddrinfo see beej guide