Programming Model (cont’d)
Tcl callbacks do “interesting things”
- change the traffic mix
- simulate a link failure
- dump stats
- animate output
- ... anything else imaginable
E.g., prototype protocols entirely in Tcl
- later move critical path to C++ to scale performance