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