Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 6 Feb 2008 22:38:00 -0800,    group: microsoft.public.dotnet.framework.remoting        back       


Remoting connections never closed on Server   
Hi all, I have developed a client/server application using .net remoting as 
for the communications (using TCP and binary formatter).

What I have noticed is that when the client drops offline, and the server 
remote object becomes unreachable, the connection on the server stays as 
ESTABLISHED, and when the client has it's next successful remoting call, that 
a new connection on the server is opened (same port as before).

If the client goes online/offline a number of times, these connections begin 
to build up and never go away (when I did it many times, I had so many 
connections on the server, the Remoting stopped working!)

The same thing happens for both SingleCall and Singleton remote object

I have searched high and low for others who have noticed this, but found 
nothing.

Does anyone have any idea how to get rid of these "old" connections once the 
client "reconnects"

Any help would by greatly appretiated!
regards
Peter
date: Wed, 6 Feb 2008 22:38:00 -0800   author:   Peterc

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us