Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
35d39028
Commit
35d39028
authored
Nov 08, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated examples to use simpler syntax.
parent
c2825e86
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
server_http_ex.cpp
examples/server_http_ex.cpp
+1
-1
sockets_ex.cpp
examples/sockets_ex.cpp
+1
-2
sockstreambuf_ex.cpp
examples/sockstreambuf_ex.cpp
+1
-1
No files found.
examples/server_http_ex.cpp
View file @
35d39028
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
using
namespace
dlib
;
using
namespace
dlib
;
using
namespace
std
;
using
namespace
std
;
class
web_server
:
public
server
::
http_1a_c
class
web_server
:
public
server
_http
{
{
const
std
::
string
on_request
(
const
std
::
string
on_request
(
const
incoming_things
&
incoming
,
const
incoming_things
&
incoming
,
...
...
examples/sockets_ex.cpp
View file @
35d39028
...
@@ -21,9 +21,8 @@ using namespace std;
...
@@ -21,9 +21,8 @@ using namespace std;
class
serv
:
public
server
::
kernel_1a_c
class
serv
:
public
server
{
{
void
on_connect
(
void
on_connect
(
connection
&
con
connection
&
con
)
)
...
...
examples/sockstreambuf_ex.cpp
View file @
35d39028
...
@@ -32,7 +32,7 @@ using namespace std;
...
@@ -32,7 +32,7 @@ using namespace std;
class
serv
:
public
server
::
kernel_1a_c
class
serv
:
public
server
{
{
void
on_connect
(
void
on_connect
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment