网站首页  词典首页

请输入您要查询的计算机术语:

 

术语 CGopherConnection
释义 CGopherConnection

CObject
 └CInternetConnection
    └CGopherConnection

MFC类的CGopherConnection管理与Gopher Internet服务器的连接。Gopher服务器是由MFC WinInet类识别的三种 Internet服务器之一。CGopherConnection包含一个构造函数和三个附加成员函数,用于管理Gopher服务器:OpenFile,CreateLocator和GetAttribute。
为与一个Gopher Internet服务器相连接,必须首先建立一个CInternetSession实例,然后调用CInternetSession::GetGophConnection来构造一个CGopherConnection对象并返回一个指向它的指针。不可直接创建一个CGopherConnection对象。
要了解有关CGopherConnection如何与其它MFC Internet类共同工作,可参阅联机文档“Visual C++程序员指南”中的“用WinInet编写 Internet程序设计”。要了解有关另两种支持 的Internet的服务,FTP和HTTP,请参阅CHttpConnection和CFtpConnection。
#include <afxinet.h>

请参阅:
CFtpConnection, CHttpConnection, CInternetConnection, CGopherLocator, CGopherFile, CInternetSession


CGopherConnection类的成员

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

操作
OpenFile打开一个Gopher文件
CreateLocator建立一个CGopherConnection对象以直接查找Gopher服务器上的文件
GetAttribute获取关于Gopher对象的属性信息
随便看

 

MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 12:28:42