[NSPortCoder sendBeforeTime:sendReplyPort:]
[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.