|
|
|
|
 |
 |
|
ChatClient |
|
|
 |
 |
|
NDK |
|
|
 |
 |
|
NDKClient.cpp[9,450字节] |
 |
 |
|
NDKClient.h[8,870字节] |
 |
 |
|
NDKClientSocket.cpp[3,631字节] |
 |
 |
|
NDKClientSocket.h[4,595字节] |
 |
 |
|
NDKDataBuffer.cpp[4,920字节] |
 |
 |
|
NDKDataBuffer.h[4,699字节] |
 |
 |
|
NDKMessageData.h[7,419字节] |
|
 |
 |
|
res |
|
|
 |
 |
|
ChatClient.ico[1,078字节] |
 |
 |
|
ChatClient.rc2[402字节] |
|
 |
 |
|
ChatClient.cpp[2,119字节] |
 |
 |
|
ChatClient.dsp[5,314字节] |
 |
 |
|
ChatClient.h[1,368字节] |
 |
 |
|
ChatClient.rc[7,528字节] |
 |
 |
|
ChatClientDlg.cpp[9,514字节] |
 |
 |
|
ChatClientDlg.h[2,633字节] |
 |
 |
|
ChatMessage.h[153字节] |
 |
 |
|
ReadMe.txt[3,651字节] |
 |
 |
|
Resource.h[1,596字节] |
 |
 |
|
StdAfx.cpp[212字节] |
 |
 |
|
StdAfx.h[1,054字节] |
|
 |
 |
|
...download for more... |
 |
 |
|
ChatClient.exe[49,152字节] |
|
工具介绍
Network Development Kit 2.0 用这个开发基于 VC 的网络程序方便多了. With the success of NDK 1.0, I decided to improve the functionality. NDK represents Network Development Kit. The NDK is a set of classes that implements a client/server architecture. The NDK hides all the complexity of the connection, sending and receiving data over a network. You only have to deal with 3 classes: CNDKServer, CNDKClient and CNDKMessage. With just few methods to override, you obtain a complete robust client/server application. The NDK is based on the class CSocket from MFC so you can run your application on a local network or on the Internet without any change. To easily understand the integration of the NDK in an application, you'll find at the end of this article a complete Chat application.
注:转载文章需注明来源: VCer.net 文章地址: http://vcer.net/1107.html
如果你觉得VCer.net不错,而且你愿意为VCer.net捐赠一元钱,那么点击后面的捐赠按钮吧:)
|
|
|
[回复该贴]
[加入个人书签]
|
|