资 源 简 介
PHP-DWS is the abbreviation for "PHP Direct Web Server". It works much like fastcgi server with nginx,
But nginx pass the request header of HTTP and socket file description of this connection to it via
calling sendmsg(), and then PHP-dws read request body data from http connection , send response
data to the http connection directly.
I simply draw their work in the following flow diagram:
```
[PHP-CGI]
============
i)request header+body ii)request header+body
+~~~~>~~~~>~~~~>~~~+ +~~~~~>~~~~~>~~~~>~~~~~+
| | | |
/| |/ / |/
WebVisitor Web Server FastCGIServer
(user) (nginx)