#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
struct rlimit r;
r.rlim_cur = r.rlim_max = sizeof(fd_set)*8;
setrlimit(RLIMIT_NOFILE, &r);
David Schwartz
-------------------------------------------------------------------------
In the news today: A fire tore through Bob Dole's library. Both books
were destroyed, and he hadn't even finished coloring one yet.
-------------------------------------------------------------------------
On Mon, 6 Jan 1997, Martin Mares wrote:
> Hello, world!
>
> Isn't it possible for the application to tell the kernel what max. #
> of fd's it can handle? Yes, it's a bit ugly, but it would work.
>
> Martin