This document discusses OTCL/C++ linkages and provides an example of creating a simple agent class in C++ and exposing it to OTCL. It shows the C++ code for the TSPAgent class with public, private and protected variables and functions. It then shows how to define a TclClass for TSPAgent and register it. The example demonstrates how to instantiate a TSPAgent object from OTCL and call its member functions. The document also briefly describes two case studies on multimedia over UDP and provides information on where to modify different aspects of the NS-2 network simulator code.