By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,337 Members | 2,234 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,337 IT Pros & Developers. It's quick & easy.

SOCK proxy again

P: n/a
I recently posted about the lack of support for SOCKS proxy in WebServices.

It is possible to write a low level class that will tunnel through a SOCKS
proxy and return an open TcpSocket (www.componentspace.com has one) but a
WebRequest (that WebServices are based on) does not allow access to the
underlying TcpSocket unfortunately and nor does it allow you to configure a
proxy other than HTTP.

I started thinking that SOCKS proxies must be a thing of the past, totally
dead and no longer support by any Microsoft technology. Only tonight I
discovered that the latest version MSN Messenger supports SOCKS proxies! IE
does too.

What is the status of SOCKS proxies? Are they dead? Who uses them? Should a
widely distributed WinForms application that needs to make SOAP calls
support a SOCKS proxy server? And most importantly, if so then how?

Regards
Dave A
Mar 15 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote:

[No SOCKS Support in .NET]

I agree, this always struck me as strange. Especially now that MS is
including a SecureStream class over TCP sockets. A SOCKS enabled socket
seemed a very natural thing.

Fortunatly there is an answer:
http://www.mentalis.org/soft/class.qpx?id=9

I've had no troubles tying these together with all the other socket code
that MS does provide.

--
Chris Mullins
Mar 15 '06 #2

P: n/a
Chris,

That is great at the TcpClient level but how then would you get a
WebServices/SOAP request to use it?

Regards
Dave A
"Chris Mullins" <cm******@yahoo.com> wrote in message
news:ub**************@tk2msftngp13.phx.gbl...
"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote:

[No SOCKS Support in .NET]

I agree, this always struck me as strange. Especially now that MS is
including a SecureStream class over TCP sockets. A SOCKS enabled socket
seemed a very natural thing.

Fortunatly there is an answer:
http://www.mentalis.org/soft/class.qpx?id=9

I've had no troubles tying these together with all the other socket code
that MS does provide.

--
Chris Mullins

Mar 15 '06 #3

P: n/a
That's a good question and I wish I had an answer for it.

I would have sworn I rembered reading an MSDN article about a year ago
regarding .NET 2.0 and how you could configure sockets to use the IE Proxy
settings. I just searched up and down the web for that article and can't
find anything though.

You could try asking on the Web Service Extension (WSE) newsgroup.

--
Chris Mullins

"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote
Chris,

That is great at the TcpClient level but how then would you get a
WebServices/SOAP request to use it?

Regards
Dave A
"Chris Mullins" <cm******@yahoo.com> wrote in message
news:ub**************@tk2msftngp13.phx.gbl...
"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote:

[No SOCKS Support in .NET]

I agree, this always struck me as strange. Especially now that MS is
including a SecureStream class over TCP sockets. A SOCKS enabled socket
seemed a very natural thing.

Fortunatly there is an answer:
http://www.mentalis.org/soft/class.qpx?id=9

I've had no troubles tying these together with all the other socket code
that MS does provide.

--
Chris Mullins


Mar 15 '06 #4

P: n/a
Chris,

You may be thinking of
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

I found this poor sod ran head long into the problem and MS support has
absolutelty no idea about it...
http://www.dotnet247.com/247referenc.../18/91588.aspx

Regards
Dave
"Chris Mullins" <cm******@yahoo.com> wrote in message
news:OZ**************@TK2MSFTNGP10.phx.gbl...
That's a good question and I wish I had an answer for it.

I would have sworn I rembered reading an MSDN article about a year ago
regarding .NET 2.0 and how you could configure sockets to use the IE Proxy
settings. I just searched up and down the web for that article and can't
find anything though.

You could try asking on the Web Service Extension (WSE) newsgroup.

--
Chris Mullins

"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote
Chris,

That is great at the TcpClient level but how then would you get a
WebServices/SOAP request to use it?

Regards
Dave A
"Chris Mullins" <cm******@yahoo.com> wrote in message
news:ub**************@tk2msftngp13.phx.gbl...
"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote:

[No SOCKS Support in .NET]

I agree, this always struck me as strange. Especially now that MS is
including a SecureStream class over TCP sockets. A SOCKS enabled socket
seemed a very natural thing.

Fortunatly there is an answer:
http://www.mentalis.org/soft/class.qpx?id=9

I've had no troubles tying these together with all the other socket code
that MS does provide.

--
Chris Mullins



Mar 16 '06 #5

P: n/a
"Dave A" <da**@sigmasolutionsdonotspamme.com.au> wrote
You may be thinking of
http://msdn.microsoft.com/msdnmag/is...n/default.aspx
Yea, that's the one I read. That seems to answer your question, doesn't it?
I found this poor sod ran head long into the problem and MS support has
absolutelty no idea about it...
http://www.dotnet247.com/247referenc.../18/91588.aspx


Probably the same issue - I wonder what the final resolution was.

Most of the stuff I do is TCP based, and we had major socket / proxy
problems for a while. We ended up using the Mentalis Proxy Socket class as
our base socket, and that cleaned up things quite a bit.

--
Chris Mullins
Mar 17 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.