Null Chilly
18927f93e2
Fix typos ( #2811 )
2023-06-11 20:21:05 -04:00
elelel
b57b8b20aa
Migrate from dlib::scoped_ptr to std::unique_ptr ( #593 )
...
* Convert unique_ptr
* Fix passing unique_ptr as copy by value
* Remove scoped_ptr implementation
* Fix missed files
* Move bool cast into tester macro
* Reexport scoped_ptr alias from sockets
2017-05-14 19:52:34 -04:00
Davis King
3eae0bcb00
Changed example to avoid tying a stream to itself since some iostream libraries
...
have a bug that causes them to crash when you do this.
2014-09-30 19:21:38 -04:00
Davis King
7b43a3c6ac
All I did in this change was switch from using #include "" syntax
...
to #include <> syntax.
2012-12-08 09:32:13 -05:00
Davis King
37a8bfebc9
Added an example for the iosockstream and server_iostream objects. Also
...
reorganized the sockets example programs a little.
--HG--
rename : examples/sockstreambuf_ex.cpp => examples/server_iostream_ex.cpp
rename : examples/sockets_ex_2.cpp => examples/sockstreambuf_ex.cpp
2012-11-17 14:48:42 -05:00
Davis King
06501db2e8
simplified examples
2012-11-17 12:07:04 -05:00
Davis King
1493769dee
removed cruft
2012-11-12 09:46:20 -05:00
Davis King
35d390282f
Updated examples to use simpler syntax.
2012-11-07 21:41:50 -05:00
Davis King
8319811880
Simplified example programs slightly
2012-10-21 22:08:48 -04:00
Davis King
2c1332b382
Updated examples to use the simpler start_async() to start the servers.
2012-08-31 21:48:34 -04:00
Davis King
58ee5c6696
Changed this example so it recommends using stream.peek()!=EOF instead of stream.good()
...
to detect the end of the stream.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404011
2010-12-22 20:41:59 +00:00
Davis King
76eaef5df2
Minor changes to avoid compile time errors when using visual studio 10.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403805
2010-08-14 03:33:52 +00:00
Davis King
991e8946b1
Made these examples more robust. Now if the server's start() function throws an
...
exception it will be printed right away rather than after the user hits
the enter key. I also removed the global server objects since that was
pretty sketchy too.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403713
2010-07-02 00:26:59 +00:00
Davis King
49532acf87
Added licensing comments to the example programs.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402875
2009-02-17 01:45:57 +00:00
Davis King
754da0ef3c
Properly organized the svn repository. Finally.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402199
2008-05-02 14:19:38 +00:00