文件名称:Chat
- 所属分类:
- ICQ/即时通讯
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 13.33mb
- 下载次数:
- 0次
- 提 供 者:
- yang ******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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
....\....\Release\BuildLog.htm
....\....\.......\Chat.pch
....\....\.......\vc80.pdb
....\....\.......\vc80.idb
....\....\.......\Messg.obj
....\....\.......\stdafx.obj
....\....\.......\Chat.obj
....\....\.......\ChatDlg.obj
....\....\.......\ClientSocket.obj
....\....\.......\ServerSocket.obj
....\....\.......\Chat.res
....\....\.......\Chat.exe.intermediate.manifest
....\....\.......\mt.dep
....\....\Release
....\....\ReadMe.txt
....\....\ClientSocket.h
....\....\ClientSocket.cpp
....\....\ChatDlg.h
....\....\Chat.h
....\....\ChatDlg.cpp
....\....\ServerSocket.h
....\....\ServerSocket.cpp
....\....\Chat.cpp
....\....\Chat.rc
....\....\Resource.h
....\....\Chat.aps
....\....\res\Chat.rc2
....\....\...\Chat.ico
....\....\res
....\....\Chat.vcproj.NAVY.renhj.user
....\....\Debug\BuildLog.htm
....\....\.....\ServerSocket.obj
....\....\.....\ClientSocket.obj
....\....\.....\ChatDlg.obj
....\....\.....\Chat.obj
....\....\.....\Chat.exe.embed.manifest
....\....\.....\vc80.idb
....\....\.....\Chat.pch
....\....\.....\vc80.pdb
....\....\.....\stdafx.obj
....\....\.....\Messg.obj
....\....\.....\Chat.res
....\....\.....\Chat.exe.embed.manifest.res
....\....\.....\Chat.exe.intermediate.manifest
....\....\.....\mt.dep
....\....\Debug
....\....\stdafx.cpp
....\....\Messg.cpp
....\....\stdafx.h
....\....\Messg.h
....\Chat
....\Chat.ncb
....\Chat.sln
....\Chat.suo
....\debug\Chat.pdb
....\.....\Chat.ilk
....\.....\Chat.exe
....\debug
....\release\Chat.pdb
....\.......\Chat.exe
....\release
Chat
....\....\Release\BuildLog.htm
....\....\.......\Chat.pch
....\....\.......\vc80.pdb
....\....\.......\vc80.idb
....\....\.......\Messg.obj
....\....\.......\stdafx.obj
....\....\.......\Chat.obj
....\....\.......\ChatDlg.obj
....\....\.......\ClientSocket.obj
....\....\.......\ServerSocket.obj
....\....\.......\Chat.res
....\....\.......\Chat.exe.intermediate.manifest
....\....\.......\mt.dep
....\....\Release
....\....\ReadMe.txt
....\....\ClientSocket.h
....\....\ClientSocket.cpp
....\....\ChatDlg.h
....\....\Chat.h
....\....\ChatDlg.cpp
....\....\ServerSocket.h
....\....\ServerSocket.cpp
....\....\Chat.cpp
....\....\Chat.rc
....\....\Resource.h
....\....\Chat.aps
....\....\res\Chat.rc2
....\....\...\Chat.ico
....\....\res
....\....\Chat.vcproj.NAVY.renhj.user
....\....\Debug\BuildLog.htm
....\....\.....\ServerSocket.obj
....\....\.....\ClientSocket.obj
....\....\.....\ChatDlg.obj
....\....\.....\Chat.obj
....\....\.....\Chat.exe.embed.manifest
....\....\.....\vc80.idb
....\....\.....\Chat.pch
....\....\.....\vc80.pdb
....\....\.....\stdafx.obj
....\....\.....\Messg.obj
....\....\.....\Chat.res
....\....\.....\Chat.exe.embed.manifest.res
....\....\.....\Chat.exe.intermediate.manifest
....\....\.....\mt.dep
....\....\Debug
....\....\stdafx.cpp
....\....\Messg.cpp
....\....\stdafx.h
....\....\Messg.h
....\Chat
....\Chat.ncb
....\Chat.sln
....\Chat.suo
....\debug\Chat.pdb
....\.....\Chat.ilk
....\.....\Chat.exe
....\debug
....\release\Chat.pdb
....\.......\Chat.exe
....\release
Chat