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