Cool. It was the stacksize.
For some reason, I didn't think it'd have anything to do with the stacksize, since I'd never had any other problems, so before trying that, I tried installing AOLserver4, and had a similar problem: The server would hang, it didn't crash.
But then I up'd the stacksize from around 132000 to 500000, and not it works.
Great.
Anybody knows why this is related to stacksize? Why does ns_sockopen require such a high stack size?
But thanks a bunch for the suggestion! :)
/Lars