• 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
[NSPortCoder sendBeforeTime:sendReplyPort:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NSPortCoder sendBeforeTime:sendReplyPort:]


  • Subject: [NSPortCoder sendBeforeTime:sendReplyPort:]
  • From: Lloyd Dupont <email@hidden>
  • Date: Mon, 16 Jun 2003 16:31:51 +1000

I keep having bug with this method :
[NSPortCoder sendBeforeTime:sendReplyPort:]

which is not documented and, beside, the error always happen in place where no exception should happen, like:

- I'm checking than some DO object might be listening on a list of mac. I open a NSSocketPort, the a connection and try to send a message. apparently it work fine, except on localhost where I get
[NSPortCoder sendBeforeTime:sendReplyPort:] timed out

- or I have 2 Mac at the office.
I turn of Rendezvous on one (doing some test) reboot (obviously you need to restart to make the removing working) and then I launch a rendezvous server on this computer without rendezvous, then I try to find it on another Mac. To my disbelief, it find the service ! but was not able to get info correct enough to contact it and my NSSocketPort was apparently on port 0 and I get:
2003-06-16 16:04:22.122 Service[2186] *** Uncaught exception: <NSPortTimeoutException> [NSPortCoder sendBeforeTime:sendReplyPort:] timed out
Trace/BPT trap

- also I run my program (which do some DO, Rendezvous). then I stop it and wait a little while. and the I restart it I have:
CFMessagePortCreateLocal failed (name = Processes-0.7995393 error = 0)

any tip ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: [OT] Re: Finding a new project leader
  • Next by Date: Re: [OT] Re: Finding a new project leader
  • Previous by thread: Re: Finding a new project leader
  • Next by thread: [OT] [wildly OT, in fact] Re: Finding a new project leader
  • Index(es):
    • Date
    • Thread