# | 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 }; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |