Solved

Creating a Basic HTTP Server

Posted on 2010-11-20
1
1,650 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

19 Experts available now in Live!

Get 1:1 Help Now