Solved

Creating a Basic HTTP Server

Posted on 2010-11-20
1
1,665 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
[X]
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
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

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…
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…
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…

740 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