• 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
DO load connection problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DO load connection problem


  • Subject: DO load connection problem
  • From: email@hidden (Kris Rambish)
  • Date: Tue, 10 Oct 2006 21:38:08 +0000

Hi All,
  I have an application that accepts connections from multiple clients using Distributed Objects.  The way the application is designed is such that when a service is registered over Bonjour all of the clients that are listening automatically connect.
  The problem I am encountering is that sometimes some of the clients will connect, and then the connection immediately dies.  What I see on the server is that

- (BOOL)newConnectionRequest:(NSNotification *)note
  is called then immediately

- (void)connectionDidDie:(NSNotification *)note
  is called.

  I have also added code so the client will retry up to 10 times (pausing for 2 seconds between attempts), but it appears that once the client is in this state it will never connect.  I thought that since almost all of the client connect simultaneously it was a possible load problem with DO.  But the fact that retry has no affect makes me think otherwise.

Any ideas?

Thanks in advance,
Kris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Code injection and replace methods at runtime
  • Next by Date: Double-click and drag word in NSTextView
  • Previous by thread: Fetching entities where the relations are known
  • Next by thread: Double-click and drag word in NSTextView
  • Index(es):
    • Date
    • Thread