Socket problem with Singleton, that creates CAO's



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


.



Relevant Pages

  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #3]
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... kernel socket family. ... presentation side is left to the client. ... Each connection goes to a particular "service". ...
    (Linux-Kernel)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... Make it possible for the client socket to be used to go to more than one ... Each connection goes to a particular "service". ...
    (Linux-Kernel)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #2]
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... Make it possible for the client socket to be used to go to more than one ... Each connection goes to a particular "service". ...
    (Linux-Kernel)
  • Re: How do I tell an object to free up an owned object from thta object itself?
    ... I tested running a sequence of connect/disconnect from the client ... client address for those connections that were active. ... In the ClientConnect event I create a handler object for processing ... >Socket is in fact a TServerClientWinSocket which acts as a end-connection ...
    (comp.lang.pascal.delphi.misc)
  • Re: question about class Socket
    ... run the following code, the client send a test string, but it doesn't ... // State object for receiving data from remote device. ... // Client socket. ...
    (microsoft.public.dotnet.framework)

Loading