IPC with Sockets
IPC with Sockets
- Subject: IPC with Sockets
- From: Matt Jaffa <email@hidden>
- Date: Sat, 21 Feb 2004 08:18:04 -0700
Hi,
SO thanks to all those that have replied in the past and pointed me
towards
using Steven's book Vol. 2, that has helped a lot.
Another problem has come up that I can't find addressed in Steven's
book.
I have a daemon running forever accepting connections and then
receiving info and responding back to my KEXt all using the AF_UNIX
sockets,
This works great except when the daemon has received about 250
connections it starts throwing error 24 (EMFILE) too many files open,
I know that a process's limit of this can be increased, but I would
like a fix that doesn't require that,
I want it where after the connection was accepted by the daemon and it
receives and sends info, that it can close that connection, so as to
prevent this error.
Any suggestions?
Thanks,
Matt
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.