Thank you sherm. That did it. It is really surprising that the dump of the buffer looked right, but that the contents were still wrong.
On 2/6/04 2:09 PM, "Sherm Pendley" <[EMAIL PROTECTED]> wrote: > The unpack() is working fine - it's read() that's causing problems. -- Thane Thane at crashbox dot com