i'm trying to write a small chat server using .Net Remoting in C#. The connection to the Server from the client works nicely, but as soon as i try to "broadcast" a sent message to all other clients (or even the same client), the server throws an exception.
"Der Remoteproxy hat keine Channelsenke, d. h., der Server besitzt keine registrierten Serverchannel oder die Anwendung hat keinen passenden Clientchannel, um mit dem Server zu kommunizieren."
what translates to
"This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server."
How would i change this?
Here ( https://www.dropbox.com/s/y40cdv3lopsf6d7/Chatprojekt.zip ) you can find a copy of the full project, but to help others who have the same problem, i'll explain what i did.
On the server i opened a TcpChannel on a specific port, made an interface for both,the server and the client. I connect to the server and with a method,i pass the client instance to the server. Both implementations of the interfaces implement MarshalByRefObj to use Proxies for method invokation.
Thanks already a lot for helping me