• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why is Leopard annoying my users?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is Leopard annoying my users?


  • Subject: Re: Why is Leopard annoying my users?
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 20 Nov 2007 16:12:06 +0000

On 20 Nov 2007, at 15:52, James Bucanek wrote:

Alastair Houghton <mailto:email@hidden> wrote (Tuesday, November 20, 2007 6:48 AM -0000):
Well regardless of whether or not you think your application isn't
creating any TCP sockets, it clearly is; protocol 6 is TCP and the
reason you're being pestered is that your programs are binding ports
for listening on any address.

Exactly. Since I spend days trying to figure out how to create an interprocess Distributed Objects communications pipe that did *not* use TCP I'm feeling cheated.



- (NSConnection*)clientConnection
{
NSConnection* connection = nil;
NSPort* port = nil;
if ([self socketExists])
port = [self connectPort];
if (port!=nil)
connection = [NSConnection connectionWithReceivePort:nil sendPort:port];
return (connection);
}


Could this (above) be the problem?  The docs for NSConnection say:

"If receivePort is nil, the NSConnection object allocates and uses a new port of the same class as sendPort."

It's just a guess, but I wonder if the issue might be that it's allocating a TCP socket rather than a UNIX domain socket... after all, it has no way to name a UNIX domain socket if it allocates a new NSSocketPort.

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Why is Leopard annoying my users?
      • From: James Bucanek <email@hidden>
References: 
 >Re: Why is Leopard annoying my users? (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Why is Leopard annoying my users?
  • Next by Date: Re: [Solution] backgroundFilters on layer backed views?
  • Previous by thread: Re: Why is Leopard annoying my users?
  • Next by thread: Re: Why is Leopard annoying my users?
  • Index(es):
    • Date
    • Thread