文件名称:chat1
-
所属分类:
- 标签属性:
- 上传时间:2014-04-21
-
文件大小:8.84kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
基于DES和RSA的加密聊天工具,共包含4个文件: chat.cpp、des.h、rsa.h、makefile。
编译:命令行模式下,切换到代码所在目录,输入make后回车即可。
运行:命令行模式下输入 ./chat,然后选择程序执行角色(客户端或服务器),如选择服务器,则程序自动打开端口开始监听;如选择客户端,则需要输入服务器地址。最后输入命令quit退出程序。
此外,代码中实现了异步,select以及普通三种IO模型,需要通过定义宏控制。-DES and RSA encryption based chat tool contains four files: chat.cpp, des.h, rsa.h, makefile. Compile: command line mode, switch to the code directory, enter make press Enter. Run: Command line mode input/chat, and then select the program to perform the role (client or server), such as selecting a server, the program automatically opens the port to start listening If you choose a client, you need to enter the server address. Finally, enter the quit command to exit the program. In addition, the code is implemented asynchronously, select and general three kinds of IO model, you need by defining the macro control.
编译:命令行模式下,切换到代码所在目录,输入make后回车即可。
运行:命令行模式下输入 ./chat,然后选择程序执行角色(客户端或服务器),如选择服务器,则程序自动打开端口开始监听;如选择客户端,则需要输入服务器地址。最后输入命令quit退出程序。
此外,代码中实现了异步,select以及普通三种IO模型,需要通过定义宏控制。-DES and RSA encryption based chat tool contains four files: chat.cpp, des.h, rsa.h, makefile. Compile: command line mode, switch to the code directory, enter make press Enter. Run: Command line mode input/chat, and then select the program to perform the role (client or server), such as selecting a server, the program automatically opens the port to start listening If you choose a client, you need to enter the server address. Finally, enter the quit command to exit the program. In addition, the code is implemented asynchronously, select and general three kinds of IO model, you need by defining the macro control.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4/chat.cpp
4/des.h
4/makefile
4/rsa.h
4
4/des.h
4/makefile
4/rsa.h
4
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.