$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r60683 - trunk/boost/asio/ip
From: chris_at_[hidden]
Date: 2010-03-17 21:54:43
Author: chris_kohlhoff
Date: 2010-03-17 21:54:43 EDT (Wed, 17 Mar 2010)
New Revision: 60683
URL: http://svn.boost.org/trac/boost/changeset/60683
Log:
Clarify that to_bytes() returns addresses in network byte order. Refs #4005.
Text files modified: 
   trunk/boost/asio/ip/address_v4.hpp |     2 +-                                      
   trunk/boost/asio/ip/address_v6.hpp |     2 +-                                      
   2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/asio/ip/address_v4.hpp
==============================================================================
--- trunk/boost/asio/ip/address_v4.hpp	(original)
+++ trunk/boost/asio/ip/address_v4.hpp	2010-03-17 21:54:43 EDT (Wed, 17 Mar 2010)
@@ -102,7 +102,7 @@
     return *this;
   }
 
-  /// Get the address in bytes.
+  /// Get the address in bytes, in network byte order.
   bytes_type to_bytes() const
   {
     using namespace std; // For memcpy.
Modified: trunk/boost/asio/ip/address_v6.hpp
==============================================================================
--- trunk/boost/asio/ip/address_v6.hpp	(original)
+++ trunk/boost/asio/ip/address_v6.hpp	2010-03-17 21:54:43 EDT (Wed, 17 Mar 2010)
@@ -115,7 +115,7 @@
     scope_id_ = id;
   }
 
-  /// Get the address in bytes.
+  /// Get the address in bytes, in network byte order.
   bytes_type to_bytes() const
   {
     using namespace std; // For memcpy.