all groups > dotnet remoting > september 2006 >
You're in the

dotnet remoting

group:

Server Hangs if Client Hangs


Server Hangs if Client Hangs Spam Catcher
9/27/2006 5:21:49 PM
dotnet remoting:
Hi all,

We have a remoting application (.NET service) which fires off "events" to a
client via delegates.

If the client hangs (i.e. goes into sleep), the server will eventually
hang.

Could the server be running out of delegates?

Is there a maximum number of delegates in .NET?

Are there any solutions in avoiding hanging the server?

Re: Server Hangs if Client Hangs Guy Cox
10/18/2006 12:21:35 PM
yourhandler.invoke -- should do the trick -- if the invoke raises an
exception remove the client from the delegate chain.


[quoted text, click to view]

AddThis Social Bookmark Button