dj3mb3 wrote:But clearly you can't do that.
My needs are to recognize from the server, the type of the client that are operating, and to do this I was thinking to recognize the interface used from the client to interact with the server
An other option is that, from the client, after retrieving the server and it's cast, a can call a method to pass to the server object, the type of the interface actually used.Yes, that would be a good option.
But I think this makes a bit of nonsense...Yes, that's a good point. Perhaps the requirement that the server should recognize what type of client is sending the request is a bogus requirement. Why does it have to recognize that? Why should it behave differently for different clients who send the same request?