there is a gnu extension in the glibc which works like that: struct hostent *gethostbyname2(const char *name, int af);
so your suggestion sounds just right. greetings, martin.
there is a gnu extension in the glibc which works like that: struct hostent *gethostbyname2(const char *name, int af);
so your suggestion sounds just right. greetings, martin.