-
ask_answer
该程序模拟知乎,作为网上问答系统,用户能注册,登录,提问,回答,点赞,关注,取关,查找问题,等一系列操作,一个服务器端可以同时连接多个客户端,能够同步各个客户端操作结果。程序分为客户端和服务器端,用户gui采用mfc编写,通信方式为socket方式,开发环境为win7 vs2015,编译器v140.(The program simulates know almost as online quiz system, users can register, login, questions, answers, thumbs up, focus on, take off, find the problem, and a series of operations, a server can be connected to multiple clients simultaneously, it is possible to synchronize each client operating results. Program is divided into client and server side, the user using mfc gui written communication for the socket, the development environment for win7 vs2015, compiler v140.)
- 2016-05-17 11:56:13下载
- 积分:1
-
VC++ 采用UDP协议传输文件
应用背景UDP传输文件,不丢包,VC++的代码,贡献出来,希望可以供用得着的人使用关键技术VC++ 采用UDP协议传输文件(不丢包),希望网络编程的人可以使用得到
- 2022-01-31 22:00:23下载
- 积分:1
-
DJC_PHCP
说明: 可以得到两层异构蜂窝网络的覆盖率,以及单层异构蜂窝网络的覆盖率,并将实验结果与理论结果进行对比(The coverage of two-layer heterogeneous cellular network and single-layer heterogeneous cellular network can be obtained. The experimental results are compared with the theoretical results.)
- 2021-03-21 13:29:17下载
- 积分:1
-
RUDP:简单可靠的UDP。
这是简单可靠的UDP项目(“RUDP”) 该项目由SourceForge.net托管。项目组将其描述为: 面向对象实现了可靠,有序,交通运输在UDP基础上标题为“可靠的UDP”以博瓦,Krivoruchka,和思科系统(1999)互联网草案协议。
- 2022-01-28 14:17:36下载
- 积分:1
-
VB调用WebService源码
本源码使用VB开发,调用Webservice通信.
The codeing is use VB developed,it can call webservice and communication.
- 2023-04-23 19:25:03下载
- 积分:1
-
被广泛使用的域名服务(DNS)软件
被广泛使用的域名服务(DNS)软件 -The widely used DNS software
- 2022-12-22 03:05:03下载
- 积分:1
-
afti
A new method of propagation for computer viruses is here
presented, Automated File Transfer Infection (AFTI). This
method is specific for the Microsoft® Windows®
NT/2000/XP/Server 2003 platforms, albeit it may be extended to
the 95/98/ME systems as well, and even other Operating
Systems. It is based upon WinSock 2 hooking with the Service
Provider Interface (SPI).(A new method of propagation for computer vi ruses is here presented. Automated File Transfer Infection (AFTI). Thi 's method is specific for the Microsoft)
- 2007-04-14 12:37:29下载
- 积分:1
-
C# Winform网络围棋(可对战)
程序使用VS2015,.NET4.5,.NET 2.0以上都可以编译使用,无第三方组件,可生成32、64位。Socket网络传输,可以对战、旁观,围棋走棋规则基本全面,可直接对杀。围棋规则算法写代码太麻烦,直接参考了GreatVerveGo(是单机的)算法,感谢作者。程序包含客户端和服务端2各部分。图片文件在gooinDebugRes里面1、先启动服务端 goServer.exe服务端:地址为IPAddress[] addrIP = Dns.GetHostAddresses("192.168.0.104"); //ip地址端口51888,根据你的需要进行修改;进入服务端后点击“开始监听”。服务端定义://连接的用户System.Collections.Generic.List userList = new List();//监听端口private int port = 51888;//走棋判断int[] GameRoom = new int[255]; //房间号int[] GameUser = new int[255]; //房间人数;int[] GameStat = new int[255]; //走棋状态:1-等待、2-准备、3-开始、4-旁观int[] GameReday = new int[255]; //走棋准备状态//旁观 获得走棋信息string lookuser = "";2、打开客户端 goo.exe这里直接设置了进入到房间“0”,进入后显示“等待其他人加入”,先进房的执黑旗,按钮不可用;当有第2个人进入后,执白棋,按钮显示“准备”;双方都点击“准备”后,进入对局;后面再有人进入为旁观者,能看见双方对局信息。房间都是“0”。地址:client = new TcpClient("192.168.0.104", 51888); //定义服务器端ip地址和端口,与服务器端定义要一致根据你的需要进行修改;客户端定义:private int[,] Qpan = new int[24, 24]; //棋盘数组private string SendLook = null; //发送给旁观者的对局信息private const int Qz_Null = 0; //没有棋子private const int Qz_Black = 1; //黑子private const int Qz_White = 2; //白子private const int Max_Qpan = 23; //棋盘最大路数private int[,] TmpA_Qpan = new int[24, 24]; //临时存储棋盘private int[,] TmpB_Qpan = new int[24, 24];//临时存储棋盘private int[,] Tmp_Qpan = new int[24, 24];//临时存储棋盘private int Current_Go = 1; //当前棋子颜色private int Qpan_Count = 19; //当前棋盘路数private int Rame; //气数private int Die_Num; //死子数private bool _Attack = false; //是否打劫private int Attack_X = 0; //打劫位置private int Attack_Y = 0; //打劫位置private Panel g_Hei; //鼠标移动 黑块private Panel g_Bai; //鼠标移动 白块private Panel Fit_Hei; //最后落子标记 黑private Panel Fit_Bai; //最后落子标记 白private Panel[,] QzH = new Panel[20,20]; //黑棋子private Panel[,] QzB = new Panel[20,20]; //白棋子int LastFitX = 0; //给旁观最后落子位置int LastFitY = 0; //给旁观最后落子位置int LastHB = 0; //给旁观最后落子颜色Point Mouseoff; //鼠标位置bool go_play = false; //能否走棋int Select_Qzi = 0; //是黑还是白,1-黑,2-白int ReceiveHB =1; //接收到的棋子颜色函数://初始化棋盘、棋子private void InitQpan()//判断该谁走棋private void Judge_HB()//显示棋子private void ShowQz(int i, int j, int QzHB)//重置棋盘棋子private void Rest_Qpan()//备份棋盘棋子private void Qpan_Backup()//恢复棋盘棋子private void Qpan_Restore()//刷新棋盘棋子private void Qpan_Refresh(int QzHB)//计算棋子的气数底层函数private void Base_Calc(int i, int j, int QzHB)//计算气数private void Calc_Ream(int m, int n, int QzHB)//计算气数接口private void Calc_Interface(int QzHB)//落子处理,判断打劫、打n还1、吃掉对方棋子private void Falling(int xx, int yy)//设置打劫private void Set_Attack(int i, int j)//最后落子标记private void Fit_Flag(int xx, int yy)//旁观者最后落子标记private void LookFit_Flag(int Qhb, int xx, int yy)//对方走棋显示在己方并判断打劫、打n还1、吃掉对方棋子private void Opp_Falling()3、跨线程调用封装在CrossThreadCall.cs4、时间有限,程序没有做计算胜负,没有做掉线处理。基本规则有了,其他的就是套接字变来变去,需要新功能自己添加。只是一个初学练习,更多初学资料到我的博客http://www.cnblogs.com/qiaoke/
- 2017-03-12下载
- 积分:1
-
CMPP_sms_board
中国移动CMPP短信开发平台,一个用JAVA程序编写的程序开发包,是一个事例,对手机通讯这块很有帮助。(CMPP China Mobile SMS platform, a Java programmers using the procedure development kits, it is an example of this helpful in mobile communications.)
- 2006-07-10 23:34:26下载
- 积分:1
-
一个客户端跟服务器端的代码。用来让学习网络编程的GG学习。...
一个客户端跟服务器端的代码。用来让学习网络编程的GG学习。-a client with the server-side code. To allow the Learning Network Programming GG learning.
- 2023-01-31 03:45:03下载
- 积分:1