?
Solved

Using sockets with a HTTP proxy in Delphi

Posted on 2003-10-29
5
Medium Priority
?
1,022 Views
Last Modified: 2013-11-13
I have written an application that communicates with sockets and retreives and sends information to a webpage (with PHP and Login). Now i wanted to use it at work, but I realised that in the office there is no direct connection to the internet. My working computer connect to the internet through a http proxy. So I wanted to make it possible to set a proxy and a port in my program. But I cant find any example programs in this. I have told that it can be done by sending some commands to the proxy and using CR/LF. But I need more specific details on this. So I need an example source or an exmplanion on how to connect and retrieve and send information to a webpage through http proxy with delphi socket components. Or I need a component that can be configured to use a proxy.

Thanks in advance.
0
Comment
Question by:mogy3e
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 1200 total points
ID: 9640262
if you have visual studio then use the inet control by large the simplest.

another is to use winsock a vb example is at

http://www.vbip.com/winsock/winsock_http_03_01.asp
it works fine.
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9640267
its for vb but the fundamental is the same. send a request to the proxy's port
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question