Solved

Delphi and Apache

Posted on 2003-11-10
1
400 Views
Last Modified: 2010-04-05
Is it possible to connect from Delphi to Apache through sockets? (Delphi is the client).. I tried using ClientSockets but it seems the the Apache isn't receiving the string I sent.

please help. thanks.
0
Comment
Question by:LORD_CHO
1 Comment
 
LVL 3

Accepted Solution

by:
cwp earned 25 total points
ID: 9720317
What happens when you try to connect? Did it reject the connection or did you send something to it and your program is waiting for some data to return?

If it's the former, make sure you can access a webpage from a browser first.
If it's the latter, make sure that you have a blank line as well like "GET / HTTP/1.0"#13#10#13#10. You should also make sure to send the CRLF pair, not one or the other.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IExtractImage Delphi 14 201
Thread safe  opinion 7 126
Syntax Check Delphi Seattle IOS app without MAC ? 1 91
Downloading email attachments 2 67
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now