首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 移动台的网络仿真

移动台的网络仿真

  • 资源大小:13.00 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

It was to simulate a race among 4 mobile units to find their way with the help of two checkpoints and reach a target before they ran out of battery or went out of range. The communication took place over TCP and UDP sockets in a client-server architecture. It had 3 stages: Bootstrapping, where the init coordinates plus other initialization data was read from a file, and address structures were defined and UDP and/or TCP sockets were created. Route Discovery, mobile units moved according to the provided strategies in a file and tried to correct course with the help of checkpoints while communicating with checkpoints over UDP sockets. Only Mobile units that got to a certain proximity of the Target would receive TCP port number of the Target from Checkpoints and the rest of Mobile units would be terminated. contacting target:, Target was established and listened for the incoming connection requests from the mobile units that moved on to phase3, accepted

文 件 列 表

MUs
chp
mu1
chp.c
target.c
mu1.c
scenario.txt
strategy.txt
target
readme.txt
readme.txt~

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.521085s