NAME
     cobpeekwww Command

PURPOSE

     To query a web server for its host type, version number and protocol

SYNOPSIS

     cobpeekwww [-pPORT] Host

DESCRIPTION

     cobpeekwww queries a specified web server on the "Host" machine
     and returns the name of web server being used and what HTTP protocol
     it uses.


USAGE
     NON Interactive Mode

     cobpeekwww 127.0.0.1 >cobpeekwww.out 2>/dev/null
     case $? in
       0) cat cobpeekwww.out ;;
       *) echo "No Web Server found on 127.0.0.1:80" ;;
     esac


     Interactive Mode
 
     cobpeekwww www.ibm.com

        Host Name:	www.ibm.com
        Server:		Domino-Go-Webserver/4.6
        Port:		80
        Protocol:	HTTP/1.1

     The default port is port 80, however this can be changed by using -pPORT 
     where PORT is the number of the port.

Examples:
      ->cobpeekwww www.microsoft.com
      Host Name:      www.microsoft.com
      Server:         Microsoft-IIS/4.0
      Port:           80
      Protocol:       HTTP/1.0

      ->cobpeekwww 127.0.0.1
      Host Name:      127.0.0.1
      Server:         Domino-Go-Webserver/4.6
      Port:           80
      Protocol:       HTTP/1.1

      ->cobpeekwww -p8080 bookem.mfltd.co.uk
      cobpeekwww: using port 8080
      Host Name:      bookem.mfltd.co.uk
      Server:	      Netscape-Enterprise/3.5.1
      Port:	      8080
      Protocol:	      HTTP/1.1


EXIT STATUS

     When a lookup is sucessful, the exit code of cobpeekwww is 0, otherwise
     the error is displayed to standard error and a non-zero exit code is
     returned.
