|  Overview |  How Do I
The following table shows the steps you might perform in a typical gopher client application.
| Your goal | 
Actions you take | 
Effects | 
| Begin a gopher session. | 
Create a   object. | 
Initializes WinInet and connects to server. | 
| Connect to a gopher server. | 
Use . | 
Returns a  object. | 
| Find the first resource in the gopher. | 
Use . | 
Finds the first file. Returns FALSE if no files are found. | 
| Find the next resource in the gopher. | 
Use . | 
Finds the next file. Returns FALSE if the file is not found. | 
| Open the file found by FindFile or FindNextFile for reading. | 
Get a gopher locator using  . Use . | 
Opens the file specified by the locator. OpenFile returns a  object. | 
| Open a file using a gopher locator you supply. | 
Create a gopher locator, using . Use . | 
Opens the file specified by the locator. OpenFile returns a  object. | 
| Read from the file. | 
Use . | 
Reads the specified number of bytes, using a buffer you supply. | 
| Handle exceptions. | 
Use the  class. | 
Handles all common Internet exception types. | 
| End the gopher session. | 
Dispose of the  object. | 
Automatically cleans up open file handles and connections. | 
See Also   Prerequisites for Internet Client Classes