i'm using custom sink channels to encrypt (among other things) my remoting
tcp channels, but i've noticed that for every call, even though its a client
activated object, it opens a new tcp connection and leaves it open until i
run out of available sockets at around 4000 connections (8000 showing
ESTABLISHED in netstat). The exception i'm getting is
An unhandled exception of type 'System.Net.Sockets.SocketException' occurred
in mscorlib.dll
Additional information: An operation on a socket could not be performed
because the system lacked sufficient buffer space or because a queue was
full
i'm using the Microsoft.Samples.Runtime.Remoting.Security (which i do
understand is not supported but thats not to say no one has done it) and
even its CAO demo has the same problem. If i dont use it (just comment out
the client provider in my App.config) it works like a charm with just two
tcp connections. Unfortunately I have no idea why its creating a new tcp
for every call rather than reusing one like the normal tcpchannel. perhaps
something to do with the 3 way handshake it has to do? as is probably
apparent i'm a bit over my head on this one, my understanding is fairly
limited so i'm having a heck of a time, been staring at this for about 9
hours today.
anyone know how to fix this, or even where I should be looking?
alternatively, are there any similiar libraries for
encryption/impersonation? thanks as always.
Lloyd Christopher
SLOW30
Henry Willsun - 03 May 2005 11:38 GMT
Hi,
you can try third-party channels like genuine channels
(www.genuinechannels.com).
Henry.
> i'm using custom sink channels to encrypt (among other things) my remoting
> tcp channels, but i've noticed that for every call, even though its a client
[quoted text clipped - 26 lines]
> Lloyd Christopher
> SLOW30
lloyd - 03 May 2005 17:17 GMT
Thanks, have you had any experience with these guys? or has anyone else
reading this? if it does what its supposed to thats almost certainly a
better solution as i've wasted alot more than $99 sitting here with winpcap
trying to figure out where the error in that other code is.
Lloyd
SLOW30
> Hi,
>
[quoted text clipped - 39 lines]
>> Lloyd Christopher
>> SLOW30
Henry Willsun - 04 May 2005 05:24 GMT
I discovered them not long ago, so have studied only their samples and
articles (looks very interesting). Also there are a number of posts here in
this group where people talk about this product.
Henry.
> Thanks, have you had any experience with these guys? or has anyone else
> reading this? if it does what its supposed to thats almost certainly a
[quoted text clipped - 47 lines]
> >> Lloyd Christopher
> >> SLOW30
lloyd - 17 May 2005 20:00 GMT
After going over the documentation I purchased it and its pretty sweet. I
have everything working perfect, sspi etc and none of the problems I had
before. $99 well spent. Figured I would post that this worked for any
others running into my problems from before..
>I discovered them not long ago, so have studied only their samples and
> articles (looks very interesting). Also there are a number of posts here
[quoted text clipped - 64 lines]
>> >> Lloyd Christopher
>> >> SLOW30