[Mono-devel-list] Remoting patches and typo fix

Torstensson, Patrik patrik.torstensson at intel.com
Mon Mar 31 13:44:37 EST 2003

> Do you have a test case for this? I think that the problem is in
> CrossAppDomainChannelData. It should contain the process id. When
> CrossAppDomainChannel.CreateMessageSink tries to create a 
> message sink from
> the channel data it should check both the process id and 
> domain id, because
> domain ids are local to the process.

This is true, the problem is that the CreateMessageSink doesn't check the
process id. The cross appdomain channel should have the highest prio and
also be a part of the channel list.

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).

> >     The last patch is a small typo fix for the class.h 
> file, a "klass"
> instead of "class"... it's messing up
> >  the C++ compiler :)
> What's the problem? "class" is not a keyword in C.

But in C++.. And in some case's we are using C++ compilator.


More information about the Mono-devel-list mailing list