1) The channel is registered to a port, but you can have as many object
types from as many assemblies as you want attached to that channel.
2) Clients only care about what URL (including port) an instance of a
particular type can be reached at. Clients can access as many object types
as the server exposes. It gets a little trickier when the communication is
two way (events from server to client), but the same principle applies.
-Rob [MVP]
> hi Rob,
> a quick question here ...
[quoted text clipped - 6 lines]
> TcpServerChannel channel = new TcpServerChannel(1234);
> ChannelServices.RegisterChannel(channel);
RemotingConfiguration.RegisterWellKnownServiceType(typeof("SomeType"),"Remot
ableobject",System.Runtime.Remoting.WellKnownObjectMode.SingleCall);
> //== register a channel ===
> TcpServerChannel channel1 = new TcpServerChannel(1235);
> ChannelServices.RegisterChannel(channel1);
RemotingConfiguration.RegisterWellKnownServiceType(typeof("SomeType1"),"Remo
tableobject1",System.Runtime.Remoting.WellKnownObjectMode.SingleCall);
> Next to access these objects is it possible to do so from a single
> client ..?
>
> Thanks ..