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
Solved

Creating a Basic HTTP Server

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 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