For people wanting to re-do their networking code I would reccommend Asio (or Boost::Asio), see:
http://think-async.com/Asio/ Ad. On 8/05/2010 9:14 AM, Roger Binns wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/07/2010 01:43 PM, Pavel Ivanov wrote: >> select() has limitation that it can be used >> only with file descriptors less than 1024. > > This is rarely true and I only know of one crappy operating system that had > that limitation 13 years ago. You can simply recompile with > - -DFD_SETSIZE=10000 in all files that use fd_set to have a different "limit". > > However select() is a horrendous interface, especially beyond a trivial > number of file descriptors and there are lots of better ones out there with > a variety of attributes and support. I'd recommend using libevent which > abstracts all this stuff away. Heck, it even works on Windows! > > http://en.wikipedia.org/wiki/Libevent > > Roger > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkvknu8ACgkQmOOfHg372QRbTQCeKx8ZA++bGsvNCybLlg3P3uwl > eXkAoML1M+wGVvaoCWZaRT7OnwvpgPdD > =WLrY > -----END PGP SIGNATURE----- > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users