Re: IPC with Sockets
Re: IPC with Sockets
- Subject: Re: IPC with Sockets
- From: Justin Walker <email@hidden>
- Date: Sat, 21 Feb 2004 13:40:23 -0800
On Saturday, February 21, 2004, at 01:30 PM, Matt Jaffa wrote:
I think I have it working now,
The KEXT disconnected from it before, but after 250 connections it
still started that mess,
Keep in mind that even though one end of a 'channel' closes it, the
other end remains open until that end is closed.
but now In the daemon I have it creating a socket then accepting and
after it has done the communication, I close the the socket and it is
working fine now.
FWIW, I think that opening and closing a connection for each exchange
may be overkill (or inefficient). You have to evaluate this based on
the frequency of exchange, and the cost of the open/close operations.
I'm happy you got it fixed.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | "Weaseling out of things is
what
| separates us from the animals.
| Well, except the weasel."
| - Homer J Simpson
*--------------------------------------*-------------------------------*
_______________________________________________
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.