[Mono-devel-list] Remoting patches and typo fix
lluis at ideary.com
Thu Apr 10 13:01:48 EDT 2003
Ok, the processId issue is fixed in the CVS. One-way methods are also
----- Original Message -----
From: "Jerome Laban" <jlaban at wanadoo.fr>
To: <mono-devel-list at ximian.com>
Sent: Monday, April 07, 2003 11:30 PM
Subject: Re: [Mono-devel-list] Remoting patches and typo fix
> > This is true, the problem is that the CreateMessageSink doesn't check
> > process id. The cross appdomain channel should have the highest prio and
> > also be a part of the channel list.
> Exactly, but as it must not be listed in the
> ChannelServices.RegisteredChannels property are is the patch for that.
> > It's really simple to add, just add a check for process id in
> > CreateMessageSink and add so the constructor of ChannelData save's the
> > current process id (as it does with AppDomainID).
> This was exactly this. However, the CrossAppDomainChannel.cs file is
> in the corlib, which does not seem to provide any way to get the current
> process ID. I have added an internal call to the static function
> System.Diagnostics.Process::GetPid_internal. But I don't know if I can
> add a reference to the existing icall function, or if I have to define a
> one with the appropriate name (Which would be nicer).
> Anyway, I attached with this post patch files for this issue.
> (icall-20030407.diff and CrossAppDomainChannel-20030407.diff)
More information about the Mono-devel-list