home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / samples / wininet / headdump / readme.txt < prev   
Encoding:
Text File  |  1996-07-08  |  1.3 KB  |  33 lines

  1.  PURPOSE: 
  2.  This sample demonstrates how to create and submit HTTP 
  3.  request. Sample requests the default HTML document from the
  4.  server and then display it along with the HTTP transition headers.
  5.  This sample also allows to access password protected pages. It 
  6.  checks for HTTP server response code and it is "401 Access Denied"
  7.  it asks password and user name and then resubmit request.
  8.  Note that is only works with the Basic authentication scheme, since 
  9.  this scheme is built into WinInet APIs. Please see documentation for
  10.  WinInet APIs for more details.
  11.  
  12.  COMMENTS: 
  13.  This sample can either work with the direct access to the Internet or
  14.  via proxy server.
  15.  
  16.  USAGE:
  17.  With direct connection to the Internet:
  18.     C:> headdump.exe www.server.name
  19.  Via proxy server:
  20.     C:> headdump.exe www.server.name http://MyProxyServer:ProxyPort
  21.  
  22.  Note that sample continuously output information on the screen, so use like
  23.  this:
  24.      C:> headdump.exe www.server.name | more
  25.  
  26.  This sample has been tested under Windows NT 4.0 Beta and Windows 95.
  27.  
  28.  
  29. To build the HeadDump sample from the command line, first run 
  30. setenv.bat to be  sure the Internet SDK include, bin, and lib directories 
  31. are included in  your environment. Type  "nmake" at the command line 
  32. to compile the  sample (using the default makefile supplied).
  33.