ftp.nice.ch/pub/next/connectivity/news/Alexandra.0.82.s.tar.gz#/alex8/Preferences.subproj/askresolverfordomain.c

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.