This software implements a broadcast routing protocol called Shortest Path Tree based Broadcast (SPTB) under ns-2. ‘ns-2’ is an open-source network simulator that has the GNU GPL license. In this release, both the C++ codes for the SPTB implementation and the TCL scripts for experimenting SPTB under ns-2 are included. Besides, this release contains our implementation of a benchmark broadcast protocol called “TwoHop” that uses 2-hop neighbourhood information. The “README” file included in this release explains how to install and use this software.