]> git.saurik.com Git - apple/libdispatch.git/blame - examples/DispatchWebServer/ReadMe.txt
libdispatch-84.5.1.tar.gz
[apple/libdispatch.git] / examples / DispatchWebServer / ReadMe.txt
CommitLineData
0ab74447
A
1### DispatchWebServer ###
2
3===========================================================================
4DESCRIPTION:
5
6Sample code showing how to: Use dispatch in a real world setting,
7schedule file and network I/O, use vnode sources, create and manage
8timers.
9
10===========================================================================
11BUILD REQUIREMENTS:
12
13Mac OS X version 10.6 Snow Leopard
14
15===========================================================================
16RUNTIME REQUIREMENTS:
17
18Mac OS X version 10.6 Snow Leopard
19
20===========================================================================
21PACKAGING LIST:
22
23DispatchWebServer.c - the web server
24
25===========================================================================
26RUNNING:
27
28Running the program will start a web server on port 8080, it will read
29content from ~/Sites and write ~/Library/Logs/DispatchWebServer-transfer.log
30each time complets a request.
31
32It will write some to stdout when it makes new connections, recieves
33requests, completes requests, and when it closes connections. It also
34shows the state of each actiave request once evey five seconds and any
35time you send a SIGINFO signal to it.
36
37===========================================================================
38CHANGES FROM PREVIOUS VERSIONS:
39
40Version 1.0
41- First version
42
43===========================================================================
44Copyright (C) 2009 Apple Inc. All rights reserved.