Groups | Blog | Home
all groups > dotnet remoting > may 2007 >

dotnet remoting : Server connections to clients



Per Bakkendorff
5/31/2007 12:00:00 AM
Hi

Does anybody know to to count/know the URL of clients connected to a
server activated object ?

I have an application server, that upon shutdown need to know which
clients is still connected, so they (the clients) can be instructed to
close nicely, thereby disconnecting them selves from the server.

Samples, hints - anything, thnx.

David Mensik
7/11/2007 12:00:00 AM
It can be done through message sink - intercepting message calls.
Helpfull link: http://www.codeproject.com/csharp/RemotingCompServer.asp

Download codes, look in Shared\Class1.cs in CrossDomainComponent.Marshal
(this.refcount++ and --).

Ozon

"Per Bakkendorff" <JohnDoe@NoWhere.com> píse v diskusním príspevku
news:eIRdq41oHHA.596@TK2MSFTNGP06.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button