C++ CGI ASCII HTTP Server HTTP Server Source HTTPServer WWW Server WWW Server Source

C CGI SAMPLE.ZIP

MFC based World Wide Web HTTP Server Source Code   (created at Aug 28, 2007)   65  

The below attachment is HTTP Server source code that supports CGI. Detail Description: HTTPSVR is an MFC sample that demonstrates the use of MFC and its Windows Sockets (WinSock) classes in implementing a simple World Wide Web HTTP server. HTTPSVR turns an...





MFC based World Wide Web HTTP Server Source Code

CK1740 
Created at Aug 28, 2007 02:59:00 
66   0   0   0  

The below attachment is HTTP Server source code that supports CGI.



Detail Description:


HTTPSVR is an MFC sample that demonstrates the use of MFC and its Windows Sockets (WinSock) classes in implementing a simple World Wide Web HTTP server. HTTPSVR turns any computer connected to a network into a publishing platform viewable from any of a number of web browsers available on the market today, such as Microsoft's Internet Explorer.


HTTPSVR also minimally supports the Common Gateway Interface (CGI). You can create forms and execute CGI-compatible server-side applications using the standard hypertext markup language (HTML) tags.


To increase performance, HTTPSVR checks a file's last modified date and compares it to the date sent by the browser in the HTTP If-Modified-Since field. Most browsers will send this field if they already have a copy of the file in their cache. If the file has not been modified since the date of the cached copy, it will send the browser a Not Modified status code instead of downloading the entire file again.


1406749144.zip



Tags: ASCII C++ CGI HTTP Server HTTP Server Source HTTPServer WWW Server WWW Server Source Share on Facebook Share on X

◀ PREVIOUS
Creating and Using a CAsyncSocket Object to use CAsyncSocket
▶ NEXT
How to print character in C# by ASCII code
  댓글 0
로그인을 하시면 댓글을 등록 할 수 있습니다.
SIMILAR POSTS

Creating and Using a CAsyncSocket Object to use CAsyncSocket (created at Aug 28, 2007)

UDP Send and Receive Using CAsyncSocket (created at Aug 28, 2007)

Using the shell to receive notification of removable media being inserted or removed (created at Aug 28, 2007)

Fast and Good Keyboard/Mouse Test without the message handler (created at Aug 27, 2007)

Simple CGI Programming in C (created at Aug 27, 2007)

C++ CGI Example working on Apache (created at Aug 27, 2007)

Simple C# CGI working on Apache (created at Aug 27, 2007)

Double Linked List based in C++ (created at Sep 08, 2007)

Binary Search Sample Code (created at Sep 08, 2007)

How to run shell command by MFC ? (created at Sep 09, 2007)

How to search file on certain directory ? (created at Jun 15, 2008)

How to call SetTimer function on MFC CDialog class ? (created at Jul 30, 2008)

How to load HTML resource on MFC ? (updated at Dec 17, 2023)

URL Encode, Decode function for MFC (updated at Dec 20, 2023)

KMP String Matching Algorithm (created at Jul 21, 2010)

OTHER POSTS IN THE SAME CATEGORY

How to rename(change file name) in C# ? (created at Mar 12, 2008)

Find Files in certain directory (created at Feb 25, 2008)

Implementing C#'s foreach loop in Delphi 8 (created at Oct 03, 2007)

How to detect resource leaks in a Form (created at Sep 25, 2007)

The best way to enable and disable buttons, menu items and toolbar buttons (created at Sep 25, 2007)

How to exit from a console application (created at Sep 25, 2007)

How to restrict a program to a single instance (created at Sep 25, 2007)

Compress and decompress strings in C# (created at Sep 25, 2007)

Graphics in C# - Irregular Forms (created at Sep 25, 2007)

Extracting the Country from IP Address (created at Sep 25, 2007)

How to run shell command by MFC ? (created at Sep 09, 2007)

Binary Search Sample Code (created at Sep 08, 2007)

Double Linked List based in C++ (created at Sep 08, 2007)

String Replace Function For C# (created at Aug 28, 2007)

How to print character in C# by ASCII code (created at Aug 28, 2007)

Creating and Using a CAsyncSocket Object to use CAsyncSocket (created at Aug 28, 2007)

UDP Send and Receive Using CAsyncSocket (created at Aug 28, 2007)

Using the shell to receive notification of removable media being inserted or removed (created at Aug 28, 2007)

Adding Custom Paper Sizes To Named Printers (created at Aug 27, 2007)

Print HTML In C# With Or Without The Web Browser Control And The Print Dialog (created at Aug 27, 2007)

A Customizable Printing Text Class (created at Aug 27, 2007)

Simplified .NET Printing In C# (created at Aug 27, 2007)

How To Print Text In C# (created at Aug 27, 2007)

C Sharp Lists (created at Aug 27, 2007)

Simple Example Of IF/THEN Using C# (created at Aug 27, 2007)

Fast and Good Keyboard/Mouse Test without the message handler (created at Aug 27, 2007)

Simple CGI Programming in C (created at Aug 27, 2007)

C++ CGI Example working on Apache (created at Aug 27, 2007)

Simple C# CGI working on Apache (created at Aug 27, 2007)

How to send binary data through C# CGI app? (created at Aug 27, 2007)

UPDATES

Building a Simple DNS Server in Delphi with TTL Support (created at Mar 16, 2024)

How to force cookies, disable php sessid in URL ? (updated at Mar 16, 2024)

Implementing a Versatile DNS Server in PHP: Handling A, AAAA, CNAME, and TXT Records (updated at Mar 16, 2024)

Implementing a Versatile DNS Server in Python: Handling A, AAAA, CNAME, and TXT Records (created at Mar 16, 2024)

Building a Basic DNS Server in PHP/Python: A Beginner's Guide (updated at Mar 15, 2024)

Dynamic DNS Made Easy: Building a Python-Based Solution (created at Mar 15, 2024)

Exploring the Depths of Data Transfer: sendfile vs. kTLS (created at Mar 15, 2024)

How Netflix Ensures Smooth Streaming with Open Connect CDN (updated at Mar 15, 2024)

How to know the browser name in Javascript ? (updated at Mar 10, 2024)

To compare two HTML tables on web page in real time (updated at Mar 10, 2024)

To get web browser capability (updated at Mar 10, 2024)

Shake your browser window by Javascript (updated at Mar 10, 2024)

Run command with Administrator permission in Delphi on Microsoft Windows (updated at Mar 09, 2024)

Get Application Data Path on Delphi (updated at Mar 09, 2024)

How to get application version number in Delphi (updated at Mar 09, 2024)

How To Turn On/Off Monitor with Delphi (updated at Mar 09, 2024)

Run PowerShell Command as Administrator in Delphi (updated at Mar 09, 2024)

Delphi code to send data to web server based on POST method (updated at Mar 09, 2024)

Network diagnostic tool for IPv4/IPv6 - traceroute/traceroute6 (created at Mar 06, 2024)

Enable/Disable IPv6 on Windows (updated at Feb 24, 2024)

Enable/Disable IPv4 on Windows (updated at Feb 24, 2024)

Uploading files to Amazon S3 with REST API in PHP (updated at Feb 23, 2024)

Public DNS (Domain Name Service) based on IPv4, IPv6 widely used (updated at Feb 23, 2024)

All Engineering Software Development How can you prioritize software design trade-offs when developing a new product? (created at Feb 21, 2024)

AI-based Image Creation based on Bing Image Creator (updated at Feb 17, 2024)

ChatGPT App (flowGPT) to create images with text (updated at Feb 17, 2024)

MR(Mixed Reality) Game Programming based on Unity 3D (created at Feb 01, 2024)

GD library version in PHP (updated at Jan 15, 2024)

chmod by type (directory and file permission) (created at Jan 15, 2024)

Check network port is open or not on CentOS 7 (updated at Jan 15, 2024)