🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6427

Re: TServerSocket, TClientSocket, and Proxy Servers?

#6427
From: Remy Lebeau (TeamB)
Date: Tue, 17 May 2005 07:41
24 lines
1964 bytes
"Robert G. Hoover" <not.a.real.address@anywhere.sorry> wrote in message
news:42897956$1@newsgroups.borland.com...

> Is there a tutorial or an information page on how Proxies
> work/interfere with socket communication?

A proxy is nothing more than a normal server socket that establishes its own
client socket to the target server and then passes any received data back
and forth between the two connections.

> I'm developing my app to talk over a socket and I've heard
> that having a proxy server in between can really mix things up...

That depends on what you are trying to implement in your sockets in the
first place.  For most situations, if implemented properly proxies are
completely transparent, the client has no idea that it connected to a proxy
instead of the actual target server that it is interested in.  How the proxy
knows which server to connect to depends on the protocol that you are
implementing.  HTTP and FTP, for example, have built-in mechanisms for
handling proxies.  Other protocols may not.


Gambit
Technical Details
Message-ID: <4289a0a5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42897956$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,97cdcd6411176be9
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42897956$1@newsgroups.borland.com>
Subject: Re: TServerSocket, TClientSocket, and Proxy Servers?
Date: Tue, 17 May 2005 00:41:32 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4289a0a5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1116315813 68.69.17.41 (17 May 2005 00:43:33 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail