Solved

Delphi and Apache

Posted on 2003-11-10
1
399 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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

10 Experts available now in Live!

Get 1:1 Help Now