Welcome![Sign In][Sign Up]
Location:
Search - CSocket CArchive

Search list

[Internet-NetworkCsocket

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:

[Internet-NetworkFiveChess

Description: 使用CSocket、CSocketFile、CArchive编写的网络五子棋程序-Use CSocket, CSocketFile, CArchive Gobang procedures prepared by Network
Platform: | Size: 3809280 | Author: ljc | Hits:

[TCP/IP stackTCP_IP

Description: 使用CSocket类和CArchive类,通过new关键字创建一个类对象来操作CSocket类的成员函数-Use CSocket and CArchive class, create a class object to manipulate the CSocket class member functions through the new keyword
Platform: | Size: 1915904 | Author: like | Hits:

[Windows DevelopVC-internat

Description: 本文主要讲解以下内容   (1)CAsyncSocket类编程模式。   (2)CSocket类编程模式。   (3)CSocketFile类和CArchive类简介。   通过学习,可以掌握CAsyncSocket类和CSocket类的编程模式,了解CSocketFile类和 CArchive类。CAsyncSocket类逐个封装了Winsock函数,以前介绍过的Winsock函数在CAsyncSocket类 的成员函数中都可以找到它们对应的函数。一个CAsyncSocket对象就代表着一个Windows Socket, 使用这个类进行网络编程,就要求程序员对网络通信和Socket编程模式有相当的了解,因为程序员 要自己编写程序处理阻塞、字节顺序以及Unicode与MBCS之间的转换等问题。 -This text mainly explains in detail a following contents (1)CAsyncSocket weave distance mode. (2)CSocket weave distance mode. (3)CSocketFile and CArchive brief introduction. Pass study, can control CAsyncSocket and CSocket plait distance mode, understand CSocketFile and CArchive.CAsyncSocket pursued a postting Winsock function, the introduction led before of the Winsock function is in CAsyncSocket Of member function amid can find out it
Platform: | Size: 24576 | Author: AAA | Hits:

[ICQ-IM-ChatChat

Description: 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.
Platform: | Size: 13980672 | Author: yang zhijun | Hits:

CodeBus www.codebus.net