refs:
https://stackoverflow.com/questions/651665/how-many-socket-connections-possible
http://www.lenholgate.com/blog/2005/11/windows-tcpip-server-performance.html
1)linux 服务器通过修改 file-max,可以到达数百万,取决于文件数现在和cpu,内存数量
/proc/sys/fs/file-max
2)win 见refs 2