文件名称:Chat
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:13.33mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
CSocket继承于CAsyncSocket。是Windows Socket API的高层抽象。它通常要和CSocketFile及CArchive这两个类混合使用。后者两个类主要负责的是数据的发送和接收。Csocket提供了阻塞方式的访问方式,阻塞方式的意思就是在发送出去消息后要等到对方返回信息后才发送下一个数据包的通信信息。要使用CSocket对象首先要调用构造函数,然后调用Create函数创建一个Socket句柄。Create函数缺省创建一个流Socket,如果你没有在使用Carchive类,那么还可以创建一个数据报Socket。在服务器端调用Accept,在客户端调用Connect,然后创建一个CsocketFile去关联Csocket。下一步就是要创建一个Carchive对象关联CsocketFile,用来传输数据和接受数据。-CSocket inherited from CAsyncSocket. Windows Socket API is a high-level abstraction. It is usually two and CSocketFile and CArchive class of mixed use. The latter two categories is mainly responsible for sending and receiving data. Csocket provides a way of blocking the access way, blocking the way meaning is to send out a message to wait until after the other return information before sending the next packet communications. To use the CSocket object should first call the constructor and then call the Create function to create a Socket handle. Create function to create a default flow Socket, if you are not using Carchive class, you can also create a Datagram Socket. On the server side call Accept, the client calls the Connect, and then to create a CsocketFile associated Csocket. The next step is to create a Carchive object associated CsocketFile, used to transmit data and receive data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Chat/Chat/Chat.vcproj
Chat/Chat/Release/BuildLog.htm
Chat/Chat/Release/Chat.pch
Chat/Chat/Release/vc80.pdb
Chat/Chat/Release/vc80.idb
Chat/Chat/Release/Messg.obj
Chat/Chat/Release/stdafx.obj
Chat/Chat/Release/Chat.obj
Chat/Chat/Release/ChatDlg.obj
Chat/Chat/Release/ClientSocket.obj
Chat/Chat/Release/ServerSocket.obj
Chat/Chat/Release/Chat.res
Chat/Chat/Release/Chat.exe.intermediate.manifest
Chat/Chat/Release/mt.dep
Chat/Chat/Release
Chat/Chat/ReadMe.txt
Chat/Chat/ClientSocket.h
Chat/Chat/ClientSocket.cpp
Chat/Chat/ChatDlg.h
Chat/Chat/Chat.h
Chat/Chat/ChatDlg.cpp
Chat/Chat/ServerSocket.h
Chat/Chat/ServerSocket.cpp
Chat/Chat/Chat.cpp
Chat/Chat/Chat.rc
Chat/Chat/Resource.h
Chat/Chat/Chat.aps
Chat/Chat/res/Chat.rc2
Chat/Chat/res/Chat.ico
Chat/Chat/res
Chat/Chat/Chat.vcproj.NAVY.renhj.user
Chat/Chat/Debug/BuildLog.htm
Chat/Chat/Debug/ServerSocket.obj
Chat/Chat/Debug/ClientSocket.obj
Chat/Chat/Debug/ChatDlg.obj
Chat/Chat/Debug/Chat.obj
Chat/Chat/Debug/Chat.exe.embed.manifest
Chat/Chat/Debug/vc80.idb
Chat/Chat/Debug/Chat.pch
Chat/Chat/Debug/vc80.pdb
Chat/Chat/Debug/stdafx.obj
Chat/Chat/Debug/Messg.obj
Chat/Chat/Debug/Chat.res
Chat/Chat/Debug/Chat.exe.embed.manifest.res
Chat/Chat/Debug/Chat.exe.intermediate.manifest
Chat/Chat/Debug/mt.dep
Chat/Chat/Debug
Chat/Chat/stdafx.cpp
Chat/Chat/Messg.cpp
Chat/Chat/stdafx.h
Chat/Chat/Messg.h
Chat/Chat
Chat/Chat.ncb
Chat/Chat.sln
Chat/Chat.suo
Chat/debug/Chat.pdb
Chat/debug/Chat.ilk
Chat/debug/Chat.exe
Chat/debug
Chat/release/Chat.pdb
Chat/release/Chat.exe
Chat/release
Chat
Chat/Chat/Release/BuildLog.htm
Chat/Chat/Release/Chat.pch
Chat/Chat/Release/vc80.pdb
Chat/Chat/Release/vc80.idb
Chat/Chat/Release/Messg.obj
Chat/Chat/Release/stdafx.obj
Chat/Chat/Release/Chat.obj
Chat/Chat/Release/ChatDlg.obj
Chat/Chat/Release/ClientSocket.obj
Chat/Chat/Release/ServerSocket.obj
Chat/Chat/Release/Chat.res
Chat/Chat/Release/Chat.exe.intermediate.manifest
Chat/Chat/Release/mt.dep
Chat/Chat/Release
Chat/Chat/ReadMe.txt
Chat/Chat/ClientSocket.h
Chat/Chat/ClientSocket.cpp
Chat/Chat/ChatDlg.h
Chat/Chat/Chat.h
Chat/Chat/ChatDlg.cpp
Chat/Chat/ServerSocket.h
Chat/Chat/ServerSocket.cpp
Chat/Chat/Chat.cpp
Chat/Chat/Chat.rc
Chat/Chat/Resource.h
Chat/Chat/Chat.aps
Chat/Chat/res/Chat.rc2
Chat/Chat/res/Chat.ico
Chat/Chat/res
Chat/Chat/Chat.vcproj.NAVY.renhj.user
Chat/Chat/Debug/BuildLog.htm
Chat/Chat/Debug/ServerSocket.obj
Chat/Chat/Debug/ClientSocket.obj
Chat/Chat/Debug/ChatDlg.obj
Chat/Chat/Debug/Chat.obj
Chat/Chat/Debug/Chat.exe.embed.manifest
Chat/Chat/Debug/vc80.idb
Chat/Chat/Debug/Chat.pch
Chat/Chat/Debug/vc80.pdb
Chat/Chat/Debug/stdafx.obj
Chat/Chat/Debug/Messg.obj
Chat/Chat/Debug/Chat.res
Chat/Chat/Debug/Chat.exe.embed.manifest.res
Chat/Chat/Debug/Chat.exe.intermediate.manifest
Chat/Chat/Debug/mt.dep
Chat/Chat/Debug
Chat/Chat/stdafx.cpp
Chat/Chat/Messg.cpp
Chat/Chat/stdafx.h
Chat/Chat/Messg.h
Chat/Chat
Chat/Chat.ncb
Chat/Chat.sln
Chat/Chat.suo
Chat/debug/Chat.pdb
Chat/debug/Chat.ilk
Chat/debug/Chat.exe
Chat/debug
Chat/release/Chat.pdb
Chat/release/Chat.exe
Chat/release
Chat
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.