Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-12-17 08:17:46


Author: chris_kohlhoff
Date: 2007-12-17 08:17:46 EST (Mon, 17 Dec 2007)
New Revision: 42121
URL: http://svn.boost.org/trac/boost/changeset/42121

Log:
Documentation fixes.

Text files modified:
   trunk/boost/asio/ssl/stream.hpp | 7 +++----
   trunk/libs/asio/doc/reference.qbk | 4 ++--
   2 files changed, 5 insertions(+), 6 deletions(-)

Modified: trunk/boost/asio/ssl/stream.hpp
==============================================================================
--- trunk/boost/asio/ssl/stream.hpp (original)
+++ trunk/boost/asio/ssl/stream.hpp 2007-12-17 08:17:46 EST (Mon, 17 Dec 2007)
@@ -45,16 +45,15 @@
  * @e Shared @e objects: Unsafe.
  *
  * @par Example
- * To use the SSL stream template with a stream_socket, you would write:
+ * To use the SSL stream template with an ip::tcp::socket, you would write:
  * @code
  * boost::asio::io_service io_service;
  * boost::asio::ssl::context context(io_service, boost::asio::ssl::context::sslv23);
- * boost::asio::ssl::stream<boost::asio::stream_socket> sock(io_service, context);
+ * boost::asio::ssl::stream<boost::asio::ip::tcp::socket> sock(io_service, context);
  * @endcode
  *
  * @par Concepts:
- * Async_Object, Async_Read_Stream, Async_Write_Stream, Error_Source, Stream,
- * Sync_Read_Stream, Sync_Write_Stream.
+ * AsyncReadStream, AsyncWriteStream, Stream, SyncRead_Stream, SyncWriteStream.
  */
 template <typename Stream, typename Service = stream_service>
 class stream

Modified: trunk/libs/asio/doc/reference.qbk
==============================================================================
--- trunk/libs/asio/doc/reference.qbk (original)
+++ trunk/libs/asio/doc/reference.qbk 2007-12-17 08:17:46 EST (Mon, 17 Dec 2007)
@@ -36133,11 +36133,11 @@
 
 [heading Example]
   
-To use the SSL stream template with a stream\_socket, you would write:
+To use the SSL stream template with an ip::tcp::socket, you would write:
 
    boost::asio::io_service io_service;
    boost::asio::ssl::context context(io_service, boost::asio::ssl::context::sslv23);
- boost::asio::ssl::stream<boost::asio::stream_socket> sock(io_service, context);
+ boost::asio::ssl::stream<boost::asio::ip::tcp::socket> sock(io_service, context);
 
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk