登录
首页 » C++ » ns2_static_routing.tar

ns2_static_routing.tar

于 2015-09-27 发布 文件大小:37KB
0 234
下载积分: 1 下载次数: 8

代码说明:

  Static routing is very simple. Each node has a routing table where each entry has the destination and the next node. On receiving a packet, a node find the entry corresponding to the packet s destination, and forwards it to the next node. If there is no entry, the node drops the packet. That s it. While writing the static routing protocol in ns2 is easy, we have to set a routing tables at every node. This can be done by writing an external program. For example, when you generate a topology, you can set up routing table with the shortest path metric. Source codes In this project, we are going to write new source codes (static_routing_pkt.h, static_routing.h, and static_routing.cc) and new script (static.tcl), and modify existing codes (packet.h, queue.cc, ns-lib.tcl, ns-mobilenode.tcl, and ns-packet.tcl) The source codes of this project is available here.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • music
    c++音乐播放器原理示例代码,帮助新手入门音乐播放器(A sample code for the principle spout of c-music player to help novices get started with a music player)
    2020-06-19 00:00:02下载
    积分:1
  • 9774330
    构造函数的重载,以后我上传一系列这种类型的源程序供大家学习之用,()
    2018-05-22 20:53:04下载
    积分:1
  • TIC12
    Tic tac toe single and double player with data handeling
    2013-11-19 18:34:25下载
    积分:1
  • TCP IP客户端
    说明:  输控制协议(TCP,Transmission Control Protocol)是一种面向连接的、可靠的、基于字节流的传输层通信协议,由IETF的RFC 793定义。TCP旨在适应支持多网络应用的分层协议层次结构。(Transmission Control Protocol (TCP) is a connection-oriented, reliable, byte-stream-based transport layer communication protocol defined by IETF RFC 793. TCP aims at adapting to the hierarchical protocol structure supporting multi-network applications.)
    2020-06-18 11:00:01下载
    积分:1
  • 1 jq 2.5 version of wordpress theme
    wordpress 一个主题 jq 2.5版-1 jq 2.5 version of wordpress theme
    2022-03-21 19:42:17下载
    积分:1
  • CAT
    CAT系统中的自动化技术软件实现CAT system automation software(CAT system automation software)
    2011-06-06 09:23:51下载
    积分:1
  • similarity
    count the distance of word net
    2013-09-21 06:20:55下载
    积分:1
  • automatically-update
    利用百度网盘实现自动更新后台静默替换利用百度网盘实现自动更新后台静默替换利用百度网盘实现自动更新后台静默替换利用百度网盘实现自动更新后台静默替换(Use Baidu network disk automatically update the background silently replace the use of Baidu network disk automatically update the background silently replace the use of Baidu network disk automatically update the background silently replace the use of Baidu network disk automatically update the background silently replaced)
    2013-12-26 20:12:40下载
    积分:1
  • VC
    说明:  这是孙鑫Visual C++视频的自学笔记,写的很详细,对学习C++编程的初级学者有很大的帮助。(This is Sun Xin Visual c++ video self-taught notes, write very detailed, for learning c++ programming junior scholars have a lot of help.)
    2015-11-01 23:42:44下载
    积分:1
  • 简单的局域网传送文件示例可用于网络编程入门学习离实用还有些距离...
    简单的局域网传送文件示例可用于网络编程入门学习离实用还有些距离-simple example LAN transmission of documents to be used in network programming from the practical learning portal also some distance
    2022-05-23 21:33:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载