-
Java Uploader use to upload java application
Java Uploader use to upload java application
- 2022-03-16 10:50:13下载
- 积分:1
-
Socket通信示例
一次.net Socket UDP编程
最近想写一个网络服务器端的程序,想看看在大量客户端数下程序的运行情况。于是对.net 的Socket编程进行了一些研究,发现.net 3.5 里SocketAsyncEventArgs 是基于IOCP实现。MSDN上有相关的示例,但它是基于TCP协议的,而我想要的是基于UDP协议的。网上很难找到基于UDP协议的SocketAsyncEventArgs示例(UDP需要用IOCP吗?),于是决定自己写一个基于UDP协议的示例,看看它在和大量客户端通讯时的运行情况。
程序分为服务器端和客户端,它们使用UDP协议进行通讯。众所周知UDP是无连接的,可我又想计算出有多少客户端和服务器通信,其中又有多少是新的客户端。所以设计让服务器端程序绑定两个端口。一个端口专门用于接收客户端第一次发送过来的数据包;另一个端口负责和已经接入的客户端进行通讯(是不是有点像TCP的接入,例子本身也在模仿Tcp编程)。客户端比较简单让它生成足够多的Socket,然后不断的向服务器端发送数据包即可。
- 2022-08-17 12:38:18下载
- 积分:1
-
in Java called C procedures do Java and C to a friend, it is worth learning
在JAVA里 调用 C 程序,做JAVA和C的朋友注意了,值得学习-in Java called C procedures do Java and C to a friend, it is worth learning
- 2023-01-04 03:30:03下载
- 积分:1
-
在四元数表示下导出了两个旋转之间差异的一种简单形式,将人体各关节上总的旋转变化作为帧间距,设计了一种从运动捕获数据中提取关键帧的高效算法。...
在四元数表示下导出了两个旋转之间差异的一种简单形式,将人体各关节上总的旋转变化作为帧间距,设计了一种从运动捕获数据中提取关键帧的高效算法。-In quaternion derived under express the difference between the two rotating a simple form of the body of the rotary joint on the total change as the frame spacing, the design of a motion capture data from the key frame extraction algorithm efficient.
- 2022-03-30 07:14:59下载
- 积分:1
-
基于DSP的mp3解码,大家看看,相互可以多多交流。
基于DSP的mp3解码,大家看看,相互可以多多交流。-Based on the DSP mp3 decoding, everybody has a look, may mutually many
exchanges.
- 2022-04-27 12:52:52下载
- 积分:1
-
evaluacion practica 2
evaluacion practica 2
- 2022-01-25 14:58:54下载
- 积分:1
-
Basl curve generator, which can generate mouse and the importation of a curve Ba...
这是一个Basl曲线生成器,它可通过鼠标和输入生成一个Basl曲线-Basl curve generator, which can generate mouse and the importation of a curve Basl
- 2022-07-10 07:05:39下载
- 积分:1
-
QT编写的C++贪吃蛇小游戏
游戏通过按键控制
部分代码:
#include "gamewidget.h"
#define ROW 13
#define COL 16
#define UP 0
#define DOWN 1
#define LEFT 2
#define RIGHT 3
GameWidget::GameWidget(QWidget *parent)
:QWidget(parent)
{
this->setAutoFillBackground(true);//覆盖
this->resize(480,270);
this->setWindowIcon(QIcon("img/icon.jpg"));
this->setWindowTitle("贪吃蛇");
QPalette palette;
palette.setBrush(QPalette::Background,QBrush((QPixmap)"img/bjt.png"));
this->setPalette(palette);
//按扭区
leftbtn=new QPushButton(this);
leftbtn->setIcon((QIcon)"img/zuo.png");
leftbtn->setIconSize(QSize(40,40));
leftbtn->setGeometry(QRect(340,180,40,40));
leftbtn->setFlat(true);
rightbtn=new QPushButton(this);
rightbtn->setIcon((QIcon)"img/you.png");
rightbtn->setIconSize(QSize(40,40));
rightbtn->setGeometry(QRect(430,180,40,40));
rightbtn->setFlat(true
- 2022-03-21 19:09:00下载
- 积分:1
-
一个用VB编的Block,便于初学者学习
和了解一些简单的算法
一个用VB编的Block,便于初学者学习
和了解一些简单的算法-One with the VB compiled Block, easy for beginners to learn and understand some simple algorithms
- 2023-04-25 02:30:02下载
- 积分:1
-
In under memory efficiency premise, Guarantee realization research Many kinds of...
在内存效率的前提下,保证实现研究多种动物的分类功能。-In under memory efficiency premise, Guarantee realization research Many kinds of animals classified function.
- 2022-08-11 08:11:03下载
- 积分:1