Solved

Creating a Basic HTTP Server

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

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
System restore point 4 91
Magic Software info 18 125
Graphics32 under Delphi 10.1 Berlin 2 38
How to remove Recent Projects from Embarcadero C++ builder XE10. Berlin 2 32
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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 …

896 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

18 Experts available now in Live!

Get 1:1 Help Now