> So what's the concenus here? There probably won't be any. I say: get your XMPPD correct and properly tested first. You designed it single threaded anyway, so there's no point in changing that now. Once you feel you want threads for some reason, you'll at least have tests to back up your refactoring. cheers, Remko