0
Answer

Advanced Remoting

kr_stav

kr_stav

20y
1.5k
1
I am having a problem with serializing a Socket-object. I am using a HttpChannel and Singelton. My remote object contains a Socket-object. The purpose with my application is to remotly control a projector, via a Windows Service. My idea is to access the Control-object, which reside in the Windows Service directly on the client via remoting. I have tried to implement the Control-object as an interface, that didn't work at all. I've also tried to serialize my Socket-object described in this MSDN Article: http://msdn.microsoft.com/msdnmag/issues/02/09/net/. If I override the default way to serialize it, which stream do I have to use? Any suggestions to my problems? thanks in advice. -Kristoffer