Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / May 2005

Tip: Looking for answers? Try searching our database.

custom sink channels and closing connections.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lloyd - 30 Apr 2005 02:26 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.