Solved

Creating a Basic HTTP Server

Posted on 2010-11-20
1
1,656 Views
Last Modified: 2016-09-30
I want to create a server emulator that will listen 2 ports.

I attached a server emulator written in python, if anyone could explain me how it works, i'll appreciate it.
0
Comment
Question by:rotem156
1 Comment
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 34223196
>  TCPServer <--- you forgot to start it, Activate := True;

Click on Start to activate. Make sure you put the link: http://localhost:1234/

I tested that before uploading.

TServerSocket <----- so many errors
Seems your TCP Socket requires checking, you can find some tools for checking and repairing it:

http://windows7themes.net/winsock-fix-for-windows-7.html

Demo.JPG
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
drawing animated level bar based on numbers 3 97
creating threads in delphi 1 104
JAudiorecorder record freezing the app 29 67
Twebbrowser add css to the header 3 25
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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