This is askresolverfordomain.c in view mode; [Download] [Up]
#import "askresolverfordomain.h"
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
char *askresolverfordomain()
{
res_init();
return _res.defdname;
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.