I have a simple app using socket to talk to a POP3/SMTP server on Internet. It
works fine in most cases. Currently, whern I use the same program at work
where a proxy server is used company wide and I found CSocket::Connect(
server, port) couldn't make a connection at all. It always returns me timeout
finally.
However, programs like Netscape still works once I specify the proxy server
for it.
Now, my question is how can I configure the socket using a proxy server so
that I still can talk to Internet servers outside? I didn't see any API
dealing with proxy server or anything like that.
Any idea?
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
Go to http://info.internet.isi.edu/1/in-notes/rfc and read e.g. RFC 1928.
Basically you connect to the proxy, authenticate yourself and tell the proxy
where to connect to. Then you use the connection as if it was direct, the proxy
server relays everything sent both ways.
Regards,
Erik.
--
Development of custom applications and drivers for Windows 95 and NT.
Go visit http://www.POBoxes.com/Sperling for some free source!
JEDI Team NT member - Visit http://www.delphi-jedi.org
Erik Sperling Johansen, Sper...@POBoxes.com (ICQ 9066505)