Solved

Delphi and Apache

Posted on 2003-11-10
1
404 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
[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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10 Round Image 2 224
Create a path if not exists 7 125
tvirtualstringtree freeze when load too manny images 10 91
Convert MS Word document to a PDF file 9 134
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

732 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