Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winsock through a proxy server?

Status
Not open for further replies.

MrGunner

Programmer
Sep 3, 2001
8
US
I need some help developing a simple app that uses winsock to connect to a server.

What I am doing is programming a client app and a server app. Currently they communicate through winsock. The problem that I am having is that most of the people that will be using this are behind a proxy server.

So... my question is how can I program it so that the data will get transfered through the proxy server?

I've looked online everywhere, but can't find any help.
 
Proxy servers can be bad news for ad hoc winsock applications.

By their nature they want to examine the "payload" of the connection, which means they have t0 understand the stuff to some degree.

There are proxy servers which can be extended (so called "socks" proxies and such) but that's another can o' worms.

This is why stuff like SOAP is getting popular - not only does it sneak through on ports 80 and 443, it is passed using HTTP/HTTPS so proxy servers (today) think the stuff is web traffic.

Ouch.

Hope somebody else has something better to offer you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top