in reply to Re: program dies when printing to closed socket, I thinkin thread program dies when printing to closed socket, I think