检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张菽伦[1,2]
机构地区:[1]内蒙古师范大学 [2]呼市34中,呼和浩特010051
出 处:《内蒙古农业大学学报(自然科学版)》2010年第1期248-252,共5页Journal of Inner Mongolia Agricultural University(Natural Science Edition)
摘 要:虽然利用Socket编程是1种典型的网络通信程序设计方法,但是由于其成员函数调用必然是完全阻塞方式的,因此只能用于人工线程中。本文中并没有直接应用MFC提供的CSocket类,而是在CObject类基础上派生1个套接字类,其使用方式为阻塞方式,虽然增加了使用的条件,但可以保证其正常工作,因而不会出现不加控制地使用CSocket对象带来的冲突现象。Ahhough makeing use of Socket program is a sort of typical network communication program, as a result of its member that Calling Function must be completely obstruction mode, it can only be done in manpower threading. The article does not apply CSocket classes porvided by MFC directly,but derive one Socket classes on the basis of CObject classes, and the usage mode is blocking,although adding the working conditions,it can ensure normal operation. So it can assure that the conflict by uncontrolled using CSocket will not happen.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15