CGopherFile

CObject
 └CFile
    └CStdioFile
       └CInternetFile
          └CGopherFile

MFC类的CGopherFile提供了在一个Gopher服务器中查找和读文件的功能。
Gopher服务不允许用户写数据到一个Gopher文件,因为此服务函数主要是作为一个查找信息的菜单驱动接口。CGopherFile成员函数Write,WriteString和Flush均对CGopherFile无效。对CGopherFile对象调用这些函数时,返回CNotSupportedException。
要了解有关CGopherFile与其它MFC Internet类一起工作的更多信息,请参阅“Visual C++程序员指南”中的“用WinInet编写Internet程序”。
#include <afxinet.h>

请参阅:
CInternetFile, CGopherLocator, CGopherFileFind, CGopherConnection


CGopherFile类的成员

构造函数
CGopherFile构造一个CGopherFile对象

操作
Close关闭与Gopher服务器的连接