dns.cpp File Reference

A WWW to DNS gateway. More...

#include <cstdlib>
#include <new>
#include <vector>
#include <stdexcept>
#include <iostream>
#include "cgicc/CgiDefs.h"
#include "cgicc/Cgicc.h"
#include "cgicc/HTTPHTMLHeader.h"
#include "cgicc/HTMLClasses.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "styles.h"

Go to the source code of this file.

Functions

int main (int, char **)


Detailed Description

A WWW to DNS gateway.

A sample CGI application using the GNU cgicc library. This script allows users to lookup the IP address corresponding to a hostname, or vice-versa.

Definition in file dns.cpp.


GNU cgicc - A C++ class library for writing CGI applications
Copyright © 1996 - 2004 Stephen F. Booth
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.
Documentation generated Sat Jan 19 21:15:58 2008 for cgicc by doxygen 1.5.1