Yet another example of parsing TSIP is www.leapsecond.com/tools/tbtalk.c See functions tsip_listen, tsip_triage, and then each packet function. Note they use an unusual and highly compact method to decode every field in the packet. /tvb