The instance procedures defined for the OTcl Agent class are currently found in ~ns/tcl/lib/ns-agent.tcl. They are as follows:
| port | the agent's port identifier |
| dst-port | the destination's port identifier |
| attach-source stype | create and attach a Source object to an agent |