On a machine with 2GB of RAM, I get just over 15,000 connections, where the server and client are on the same machine. That's connects only; I've not tried sending or recieving data.