Location:
Search - servertunnel
Search list
Description: 信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘包和丢包的刺手问题,你只要调用相应的函数就可以了。函数库为你做好了这些工作。你只需要定义自己的协议头和消息结构体,定义好网络消息的回调函数就可以了。-messenger elf is a simple chat tools. A major demonstration is the main network programming steps. The programs use Packaging good libraries, makes application layer need not consider the network news is how it has been accepted and sent, and do not need sticky packets of data and packet loss of a thorn in hand, as long as you call the corresponding function on it. Functions well as your work. You only need to define its own agreement head and the structure of news, the definition of a good network news callback function on it.
Platform: |
Size: 43008 |
Author: 白亮 |
Hits: