Location:
Search - CSocket MFC
Search list
Description: 该聊天程序包括服务器和客户端两部分,使用是MFC的CSOCKET类。
它可以使多个人聊天,其工作方式类似于网上聊天室,可以在同一台机器上启动
多个客户端。
客户端可以选择谈话对象,有32种动作,可以设置字体颜色,也可以"悄悄"地对某人说,对信息进行过滤。
服务器端可以“踢“人,并可以防止用户名称的重复。-the chat program, including server and client two parts, the use of MFC CSOCKET category. It will enable more individuals to chat and its working methods similar to a chat room, in the same machine launched a number of the client. Clients can choose interlocutors, 32 species of action, can set font colors and can also be "quietly" to the right person, information filtering. Server can be "kicked out", and to prevent duplication of user names.
Platform: |
Size: 218112 |
Author: 糖果 |
Hits:
Description: 1.套接字编程原理
1.1 Client/server通信模型
1.2 Windows Sockets规范
1.3 套接字
1.3.1 套接字定义
1.3.2分类
1.3.3 套接字的作用
1.3.4端口与地址
1.3.5 套接口属性
2.基本的Windows Sockets API编程
2.1常用函数
2.2 TCP实例
2.3 UDP实例
2.4 Socket 通信阻塞的解决方法
3.MFC下的Socket编程的类
3.1 CAsyncSocket类
3.2 CSocket类
3.3 Windows Sockets:带存档的套接字的工作方式
3.4 流式套接字通信的操作顺序
3.5 使用 CAsyncSocket 类
3.6 从套接字类派生
3.7 套接字通知
3.8 一个使用CSocket类的网络通信实例
3.8.1 服务器端应用程序设计(ServerDemo)
3.8.2 客户端应用程序设计(项目名称ClientDemo)
4.套接字的托管实现
4.1 System::Net::Sockets 命名空间
4.2 实例:一个新邮件检查器
-1. Socket Programming Principle 1.1 Client/server communications model Soc Windows 1.2 kets norms 1.3 Socket socket definition 1.3.1 1.3.3 1.3.2 classification socket role 1.3.4 1.3.5 addresses and port interface attributes two sets. Basic programming Windows Sockets API function commonly used 2.1 2.2 2.3 TCP example UDP Socket Communications examples 2.4 blocked three solutions. MFC Socket Programming under the category of Class 3.2 3.1 CAsyncSocket CSocke t Windows Sockets 3.3 categories : filing with the way socket 340 socket communication flow sequence of operation to use 3.5 CAsyncSo cket category 3.6 derived from the socket type 3.8 3.7 socket notice the use of a network of CSocket Communication Liaison example 3.8.1 server application design (ServerDemo) 3.8.2 client Application D
Platform: |
Size: 173056 |
Author: gong |
Hits:
Description: MFC CSocket写的服务器和客户端,傻瓜式封装,希望有用-MFC CSocket write the server and client, stupid-Compliant, hoping useful
Platform: |
Size: 194560 |
Author: caoym |
Hits:
Description: (改良版)该聊天程序包括服务器和客户端两部分,使用是MFC的CSOCKET类。
它可以使多个人聊天,其工作方式类似于网上聊天室,可以在同一台机器上启动多个客户端。
客户端可以选择谈话对象,有32种动作,可以设置字体颜色,也可以"悄悄"地对某人说,对信息进行过滤。
服务器端可以“踢“人,并可以防止用户名称的重复。-(modified version) of the procedures, including chat server and client 2, use of MFC CSOCKET category. It will enable more individuals to chat, the way it works is similar to a chat room, the same number of machines launching the client. Clients can choose interlocutors, 32 species of action, can set font colors and can also be "quietly" to the right of a person that right information filter. Server can be "kicked out", and can prevent the user name duplication.
Platform: |
Size: 176128 |
Author: |
Hits:
Description: 这是一个用MFC实现CSocket程序,能够一定的聊天功能,是基于网络局域网的一个通讯工具.-with MFC CSocket procedures, we can chat function, LAN-based network is a communications tool.
Platform: |
Size: 3923968 |
Author: lizi |
Hits:
Description: ◆◆◆ 《模仿 MFC 中的 CAsyncSocket 类写的一个网络通信类 CHwSocket》◆◆◆
MFC 中提供两个用于网络编程的类分别为异步的 CAsyncSocket 类和同步的 CSocket 类,这两个类用来编写网络通信程序时非常方便,但也存在一些问题,例如:不能跨线程访问、程序发布时使用静态连接 MFC 时也有问题、默认使用了窗口来接受消息,在无窗口的程序中也有问题,这些问题我一直没有解决,如果有高手知道解决方法敬请告知,我的 E-Mail 地址是:chrys@163.com。
为了编程方便,我这里将 Socket APIs 封装成一个类似 CAsyncSocket 接口的类,可以在任意线程中访问,也可以静态连接 MFC,另外可控性比 MFC 中的两个Socket类好多了。我还为 CHwSocket 类编写了详细的测试代码,可以进行 TCP 服务器/客户端数据通信,也可以进行 UDP 数据通信,还可以收发 UDP 广播数据报。
你可以任意修改复制本代码,但请保留这段文字不要修改。
希望我能为中国的软件行业尽一份薄力!
◆◆◆ 作者 ◆◆◆
谢红伟 · chrys · chrys@163.com · http://www.howa.com.cn
◆◆◆ 日期 ◆◆◆
2007-09-23 00:29:12
Platform: |
Size: 40960 |
Author: 谢红伟 |
Hits:
Description: 本系统是基于Windows环境和FTP协议,以Visual C++6.0作为开发平台,利用MFC框架提供的CSocket类开发的.实现了FTP的上传和下载-The system is based on the Windows environment and the FTP protocol to Visual C++ 6.0 as a development platform, using the framework provided by MFC Class CSocket development. Realize the FTP upload and download
Platform: |
Size: 159744 |
Author: 刘道欢 |
Hits:
Description: 1.应用Visual C++中MFC Csocket类,实现网络数据传输。
2.实现局域网一对一的聊天程序。
-1. Application of Visual C++ In MFC Csocket categories, the realization of the network data transmission. 2. LAN realize one-on-one chat program.
Platform: |
Size: 2025472 |
Author: star |
Hits:
Description: MFC下CSocket编程例子,包含client和server端。-MFC under the CSocket programming examples, including client and server side.
Platform: |
Size: 10401792 |
Author: naja |
Hits:
Description: 本文介绍了CAsyncSocket、CSocket类,并用CSocket类编写了一个简单实用的网络聊天程序。读者还可以通过MFC CArchive 对象进行信息的收发操作,使得网络传输如同使用MFC的文档连载协议(Serialization protocol),简捷易用。-This paper introduces CAsyncSocket, CSocket class, and Class CSocket prepared a simple but useful web chat program. Readers can also MFC CArchive object to send and receive information to operate, making use of network transmission as MFC serialization protocol document (Serialization protocol), simple-to-use.
Platform: |
Size: 4096 |
Author: yifanxuan |
Hits:
Description: VC聊天室,mfc,csocket,登陆,退出,私聊等功能.传输文件.-VC chat rooms, mfc, csocket, landing, exit,私聊functions. Transfer files.
Platform: |
Size: 3762176 |
Author: 11she_232 |
Hits:
Description: this is a Client program written in MFC and with CSocket class.
Platform: |
Size: 28672 |
Author: soroush |
Hits:
Description: 基于socket和mfc编写的一个小巧的聊天程序,是c/s结构的,界面友好-Mfc prepared based on the socket and a small chat program, the c/s structure, user-friendly
Platform: |
Size: 83968 |
Author: zz |
Hits:
Description: 用socket编写聊天程序,是客户端,利用了MFC中的CSOCKET类,实现了简单的会话-Socket chat with the preparation process, the client, using the MFC Class CSOCKET in achieving a simple conversation
Platform: |
Size: 310272 |
Author: 张荣 |
Hits:
Description: 该聊天程序包括服务器和客户端两部分,使用是MFC的CSOCKET类。它可以使多个人聊天,其工作方式类似于网上聊天室。客户端可以选择谈话对象,有32种动作,可以设置字体颜色,也可以悄悄地对某人说,对信息进行过滤。服务器端可以“踢“人,并可以防止用户名称的重复-The chat program, including server and client in two parts, the use of the MFC Class CSOCKET. It allows individuals to chat and more, the work is similar to online chat rooms. Client s can choose to target, there are 32 kinds of moves, can set the font color, you can quietly against a person that the information filter. Server-side to "kick", and can prevent duplication of user names
Platform: |
Size: 3869696 |
Author: aaa |
Hits:
Description: 利用mfc的封装类csocket实现点对点的局域网通信-Mfc category using the package to achieve csocket LAN peer-to-peer communication
Platform: |
Size: 1949696 |
Author: liupingjin |
Hits:
Description: MFC CSocket类写的基本聊天室程序。
多个客户端连接聊天室服务端。
实现基本聊天功能。-MFC CSocket basic types of written procedures for the chat room. Multiple clients to connect to chat room server. The realization of the basic chat features.
Platform: |
Size: 5882880 |
Author: 张伟 |
Hits:
Description: MFC Csocket的聊天室代码,包括客户端和服务端代码-Csocket chatroom demo
Platform: |
Size: 87040 |
Author: dafa |
Hits:
Description: CSOCKET+MFC写的网络五子棋程序,可以与朋友网上对战(要求公网ip)。对五子棋或学习网络编程有兴趣的同学有很大参考价值-CSOCKET+ MFC write network backgammon program, online play with friends (which requires public network ip). Learning of backgammon or students interested in network programming is very valuable
Platform: |
Size: 8753152 |
Author: 王选 |
Hits:
Description: CSocket实现聊天室,代码详细,适合新手学习-CSocket realize chat rooms, the code in detail, suitable for novice to learn
Platform: |
Size: 47104 |
Author: 诸葛风云 |
Hits: