in reply to Re (tilly) 1: Bad file descriptor
in thread Bad file descriptor

Oops. That's why I like coming here! I was staring at my code not seeing the obivious.

Thanks for pointing this out! :-)