MFC based World Wide Web HTTP Server Source Code

CK CK 3788 
Created at  
460 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 Facebook X
Comments 0
Similar posts
  1. Creating and Using a CAsyncSocket Object to use CAsyncSocket
    472
  2. Fast and Good Keyboard/Mouse Test without the message handler
    982
  3. Simple CGI Programming in C
    545
  4. C++ CGI Example working on Apache
    485
  5. Simple C# CGI working on Apache
    481
  6. Double Linked List based in C++
    796
  7. Binary Search Sample Code
    406
  8. How to run shell command by MFC ?
    439
  9. How to search file on certain directory ?
    630
  10. How to call SetTimer function on MFC CDialog class ?
    651
  11. Makefile to automate the build process for C++
    280
  12. How to load HTML resource on MFC ?
    842
  13. URL Encode, Decode function for MFC
    605
  14. KMP String Matching Algorithm
    674
  15. Simple Web Server based in Python
    373
  1. Finding process name on OS
    408
  2. Convert System.DateTime to UNIX timestamp
    381
  3. Retrieve system information
    495
  4. How to rename(change file name) in C# ?
    1,080
  5. Find Files in certain directory
    927
  6. Implementing C#'s foreach loop in Delphi 8
    460
  7. How to detect resource leaks in a Form
    940
  8. The best way to enable and disable buttons, menu items and toolbar buttons
    667
  9. How to exit from a console application
    811
  10. How to restrict a program to a single instance
    729
  11. Compress and decompress strings in C#
    972
  12. Graphics in C# - Irregular Forms
    910
  13. Extracting the Country from IP Address
    469
  14. String Replace Function For C#
    1,549
  15. How to print character in C# by ASCII code
    477
  16. UDP Send and Receive Using CAsyncSocket
    1,204
  17. Using the shell to receive notification of removable media being inserted or removed
    681
  18. Adding Custom Paper Sizes To Named Printers
    649
  19. Print HTML In C# With Or Without The Web Browser Control And The Print Dialog
    972
  20. A Customizable Printing Text Class
    433
  21. Simplified .NET Printing In C#
    693
  22. How To Print Text In C#
    455
  23. C# Lists
    1,152
  24. Simple Example of IF/THEN using C#
    1,265
  25. How to send binary data through C# CGI app?
    995
  26. Interacting With TinyPic From C#
    1,305
  27. Creating A Watched Folder With Assigned Events
    1,662
  28. Calling Your Main Thread From A Worker Thread In C#
    547
  29. HashTable Tutorial In C#
    1,788
  30. Stack Tutorial In C#
    669
Recently updated
  1. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    42
  2. Why SPF and DKIM Are Essential for Linux Email Servers?
    36
  3. How do I create animated background for Google Meet?
    21,003
  4. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    251
  5. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    94
  6. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    157
  7. Array of arguments passed to script in PHP
    90
  8. Invalid Auction Storms in Ad Tech
    98
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    202
  10. The Two Clocks of Ad Server Architecture
    70
  11. Frequency Cap Architecture Overview
    515
  12. Collecting Proof-of-Play from 100,000 Screens
    146
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    288
  14. What is RedisVL?
    109
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    231
  16. TPU & GPU Cluster Management Tools
    245
  17. The Concept of Scaffolding in AI Agents
    234
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    583
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    259
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    339
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    202
  22. Machine Learning: Training vs. Ranking
    222
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    222
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    195
  25. Designing a Data Curation System Around a Vector Database
    221
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    256
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    656
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    196
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    219
  30. Understanding Data Lineage
    262