I am using gthread to create a multi-thread program.Every thread will open many sockets, and I use select() to handle them. Now I find in linux, a fd_set could only accept 1024 fd. The number of sockets one thread open can be restricted, but if all threads in a process share the same fd number, 1024 is too small for me.
___________________________________________________________ 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 http://cn.mail.yahoo.com/?id=77071 _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list