Ian, you will find some source code in VB6 at this link:

http://www.codeproject.com/KB/IP/PDUDecoder.aspx


Al.