473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SOCK proxy again

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
5 3260
"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
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
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. The I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration...
0
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. Then I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration...
4
by: blizeach | last post by:
noob here I just got slack9.0 running about a week ago. My proble is that I cant connect to mysql This is the error it gives me. ---------------------------------------------------------------...
1
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0...
5
by: OZ | last post by:
the serproxy claim itself a multi-thread proxy thing. I have sent email to write the original writer and there is no replay after 3 weeks. my configuration and setting are good. ...
5
by: SK | last post by:
Hi, We have 2 Servers in our Production Environment. Inside our application I am calling a Webservice in Production Server 2 from Production Server 1. It is failing. But when I try to open...
2
by: Ben | last post by:
Hi, I installed mysql 5.0 on redhat 9.0 from source (tar). The whole procedure occured properly, i could do ./mysqld_safe. But when i want to start the client: mysql, i get :error 2002: cannot...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
6
by: markodilore | last post by:
Hey Guys, you helped me once when I tryied to create a database : "Access denied for user ''@'localhost' ". On my Mac OS 10.4, I had no problem creating database and modifying it from the terminal....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.