diff --git a/examples/server_http_ex.cpp b/examples/server_http_ex.cpp index 004ee4e0c..c6ed4f2de 100644 --- a/examples/server_http_ex.cpp +++ b/examples/server_http_ex.cpp @@ -17,7 +17,7 @@ using namespace dlib; using namespace std; -class web_server : public server::http_1a_c +class web_server : public server_http { const std::string on_request ( const incoming_things& incoming, diff --git a/examples/sockets_ex.cpp b/examples/sockets_ex.cpp index 0748b0275..bb5a2d251 100644 --- a/examples/sockets_ex.cpp +++ b/examples/sockets_ex.cpp @@ -21,9 +21,8 @@ using namespace std; -class serv : public server::kernel_1a_c +class serv : public server { - void on_connect ( connection& con ) diff --git a/examples/sockstreambuf_ex.cpp b/examples/sockstreambuf_ex.cpp index cad642901..9888d13a9 100644 --- a/examples/sockstreambuf_ex.cpp +++ b/examples/sockstreambuf_ex.cpp @@ -32,7 +32,7 @@ using namespace std; -class serv : public server::kernel_1a_c +class serv : public server { void on_connect (