搜索资源列表
Socket
- 这个程序要完成一个聊天室的功能,它是用纯的winsock的去写,而不用任何CSocket的东西, 即可以用来做客户端又可以用来做服务器端,它要求是非阻塞方式的连接。-This program should complete a chat room feature, which is pure winsock' s to write, without any CSocket things that can be used to make the client can also be us
CODE_UPLOAD1110610292000
- ===Server Notes=== ---Server Tab--- Thread Blocking Server is not supported in this version Option: Broadcast Message = sends all users a message when typed in Option: Log All Client Messages = Logs Client Socket Reads You can t
Chat
- CSocket继承于CAsyncSocket。是Windows Socket API的高层抽象。它通常要和CSocketFile及CArchive这两个类混合使用。后者两个类主要负责的是数据的发送和接收。Csocket提供了阻塞方式的访问方式,阻塞方式的意思就是在发送出去消息后要等到对方返回信息后才发送下一个数据包的通信信息。要使用CSocket对象首先要调用构造函数,然后调用Create函数创建一个Socket句柄。Create函数缺省创建一个流Socket,如果你没有在使用Carchive类
p2p
- 一个基于mfc的简单点对点聊天工具 需要知道对方IP 基于socket的非阻塞模型-Need to know the other IP socket-based non-blocking model based on simple peer-to-peer chat tools mfc
