Search results for 'HTTP Server'. 1 post(s) found.
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.
Another posts included in "C, C++"
| Double Linked List (0) | 2007/09/08 |
| Binary Search Sample Code (0) | 2007/09/08 |
| How to run shell command by MFC ? (0) | 2007/09/09 |
| Creating and Using a CAsyncSocket Object to use CAsyncSocket (0) | 2007/08/28 |
| UDP Send and Receive Using CAsyncSocket (0) | 2007/08/28 |
| Using the shell to receive notification of removable media being insert... (0) | 2007/08/28 |
| Fast and Good Keyboard/Mouse Test without the message handler (0) | 2007/08/27 |
| Simple CGI Programming in C (0) | 2007/08/27 |
Trackback : Cannot send a trackbact to this post.
-
Subject different money making ideas
2010/01/29 02:18
moneyideas
-
Subject different money making ideas
2010/01/29 11:01
moneyideas
-
Subject different money making ideas
2010/01/31 16:44
moneyideas

mfc_based_http_server.zip
Prev

Rss Feed