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

dotnet remoting : 20 seconds before socket is closed.



Justin__Barnes NO[at]SPAM Hotmail.Com
8/3/2007 8:19:59 AM
I've been asked to find out why it takes 20 seconds before the socket
is closed after a call to a SAO singleton or singlecall object. Is it
possible to change this idle time figure?
UL-Tomten
8/9/2007 2:09:10 PM

[quoted text, click to view]

Technically that's not idle time, that's the channel living its life.
I bet you would take offence if someone was asked to find out why it
took 90 years for Justin to dispose.

Look up the documentation for InitializeLifetimeService on MSDN:
http://msdn2.microsoft.com/en-us/library/4th828yf.aspx
Justin__Barnes NO[at]SPAM Hotmail.Com
8/10/2007 7:47:18 AM
[quoted text, click to view]

Hi

I've done this already and it is not relevant. It has no bearing on
when the socket is closed.

Thanks for you help.
Justin
Joop
8/10/2007 11:18:13 PM
Justin__Barnes@Hotmail.Com schreef:
[quoted text, click to view]

Maybe this is what you're looking for:

http://msdn2.microsoft.com/en-us/library/bb187436.aspx

Justin__Barnes NO[at]SPAM Hotmail.Com
8/13/2007 8:44:28 AM
Many thanks.

I've tried this solution and it works ok.

I will continue to test it over the next few weeks.

This is great news.
AddThis Social Bookmark Button