Socket problem with Singleton, that creates CAO's
- From: "Marcel Heling" <Marcel.Heling@xxxxxxxxxxx>
- Date: Tue, 9 May 2006 19:29:55 +0200
Hi there,
i have a server, which creates a Singleton; Each Client connect to the
Singleton, in order to call a Create method, which returns
a MBR (Server sided CAO).
When i inspect the net usage (netstat), i realize, that each method call to
the Server sided CAO results in
the use of a socket, after a while, all sockets are blocked and when a
client tries to connect or executes a method on the Server sided CAO,
i get an exception, that tells me, that a socket can only be used once. It
takes some time, then the sockets are freed again.
Questions:
+ Why does each call from one client to the Server sided CAO blocks one
socket ? (In my opinion, it could reuse one socket everytime, because the
MBR is exclusiv for that concrete client)
+ Why aren't the sockets reused/cleaned up immediately ? (tried calling
RemotingServices.Disconnect(<Server sided CAO>), but doesnt improved the
behaviour)
Thxs
M.Heling
.
- Prev by Date: remoting timeout
- Next by Date: Passing Credentials to that are not defaultCredentials in NET 2.0
- Previous by thread: remoting timeout
- Next by thread: Passing Credentials to that are not defaultCredentials in NET 2.0
- Index(es):
Relevant Pages
|
Loading