ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Daemon.hpp
(Generate patch)

Comparing Smersh/Daemon.hpp (file contents):
Revision 181 by Douglas Thrift, 2004-07-03T05:41:00-07:00 vs.
Revision 184 by Douglas Thrift, 2004-07-13T21:43:09-07:00

# Line 20 | Line 20
20   class Daemon
21   {
22   protected:
23 <        struct Client { api::TcpSocket socket; api::InternetAddress ip; Client() :
24 <                ip(api::InternetAddress::Any) {} };
23 >        struct Client
24 >        {
25 >                api::InternetAddress ip;
26 >                api::Socket socket;
27 >                Client(api::TcpSocket& server) : socket(server, &ip) {}
28 >        };
29          enum Status { ok = 200, found = 302, seeOther, bad = 400, notFound = 404,
30                  lengthRequired = 411, mediaType = 415, serverError = 500,
31                  notImplemented, version = 505 };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines