开发者

Remoting in .net

开发者 https://www.devze.com 2022-12-18 04:29 出处:网络
I am doing applications on .n开发者_如何转开发et remoting ,i write the code for Client -----------> server

I am doing applications on .n开发者_如何转开发et remoting ,i write the code for

       Client -----------> server

but

       client <------------ server

i don't know how to do it(just like a chat),Please give suggestions and some samples to look up.

   without any request from server i send messages from my client application


Try using MarshalByRefObject and events. This would allow the Server to respond back to the client.

Here is a sample on code project

Another Sample with Event CallBack

0

精彩评论

暂无评论...
验证码 换一张
取 消