Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ucsd!helios.ee.lbl.gov!lbl-csam.arpa!stefan From: stefan@lbl-csam.arpa (Stefan gottschalk) Newsgroups: comp.sys.next Subject: Speakers, Listeners, keeping around C-strings, send rights Message-ID: <4214@helios.ee.lbl.gov> Date: 13 Nov 89 22:56:07 GMT Sender: usenet@helios.ee.lbl.gov Reply-To: stefan@csam.lbl.gov (Stefan gottschalk) Distribution: usa Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 22 The documentation on Listeners says that the 'privatePort:' method doesn't register a port publically, and that "other tasks can only send messages to this Listener if they are explicitly sent send rights to a _listenPort_ in a message." How do I do that? I haven't seen any mention of how to provide send rights anywhere else in the Listener or Speaker documentation, though I've seen send rights mentioned in many places. As an experiment, I tried msgwrap-ping a '.msg' file containing the line "- giveSendRights: (Port_t_send) sendRights;" This seemed to be what the man-page on msgwrap was suggesting. But msgwrap responded with (1) Expecting a type identifier, found "Port_t_send" So how are those types used? -stefan