This example program opens a connection to an HTTP server, requests a file, and then displays the file it receives. HTTP is the native protocol of the Internet's World Wide Web (WWW). It is a stateless client-server protocol: the client requests a document from the server using the Uniform Resource Locator (URL) for the document, the server transmits the document to the client, and then the server shuts down the connection.
After compiling the example program, start it up using the following syntax:
wwwget http://hostname[:port]/[path]
To get to the Rogue Wave home page, type:
wwwget http://www.roguewave.com/
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.