[boost-doc-zh] r301 committed - [No log message]

  • From: codesite-noreply@xxxxxxxxxx
  • To: boost-doc-zh-notify@xxxxxxxxxxxxx
  • Date: Tue, 25 Aug 2009 08:36:53 +0000

Revision: 301
Author: totti19851101
Date: Tue Aug 25 01:36:08 2009
Log: [No log message]
http://code.google.com/p/boost-doc-zh/source/detail?r=301

Modified:
 /trunk/doc/html/boost_asio/examples.html
 /trunk/doc/html/boost_asio/index.html
 /trunk/doc/html/boost_asio/reference.html
 /trunk/doc/html/boost_asio/using.html

=======================================
--- /trunk/doc/html/boost_asio/examples.html    Wed May 27 03:09:50 2009
+++ /trunk/doc/html/boost_asio/examples.html    Tue Aug 25 01:36:08 2009
@@ -1,6 +1,6 @@
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>Examples</title>
 <link rel="stylesheet" href="../boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
@@ -31,8 +31,7 @@
<a class="link" href="examples.html#boost_asio.examples.allocation">Allocation</a>
     </h4>
 <p>
- This example shows how to customise the allocation of memory associated with
-      asynchronous operations.
+     这个例子说明了如何使用异步操作去定制内存的配置。
     </p>
<div class="itemizedlist"><ul type="disc"><li><a href="example/allocation/server.cpp" target="_top">boost_asio/example/allocation/server.cpp</a></li></ul></div>
 <a name="boost_asio.examples.buffers"></a><h4>
@@ -40,8 +39,7 @@
<a class="link" href="examples.html#boost_asio.examples.buffers">Buffers</a>
     </h4>
 <p>
- This example demonstrates how to create reference counted buffers that can
-      be used with socket read and write operations.
+      这个例子演示了如何创建用于socket读、写操作的具有引用计数作用缓冲区。
     </p>
<div class="itemizedlist"><ul type="disc"><li><a href="example/buffers/reference_counted.cpp" target="_top">boost_asio/example/buffers/reference_counted.cpp</a></li></ul></div>
 <a name="boost_asio.examples.chat"></a><h4>
@@ -49,8 +47,7 @@
<a class="link" href="examples.html#boost_asio.examples.chat">Chat</a>
     </h4>
 <p>
- This example implements a chat server and client. The programs use a custom - protocol with a fixed length message header and variable length message body. + 这个例子实现了一个聊天服务器和客户端。该程序以固定长度的信息头和可变 长度消息正文的方式使用了一个定制协议。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/chat/chat_message.hpp" target="_top">boost_asio/example/chat/chat_message.hpp</a></li>
@@ -58,8 +55,8 @@
<li><a href="example/chat/chat_server.cpp" target="_top">boost_asio/example/chat/chat_server.cpp</a></li>
 </ul></div>
 <p>
- The following POSIX-specific chat client demonstrates how to use the <a class="link" href="reference/posix__stream_descriptor.html" title="posix::stream_descriptor">posix::stream_descriptor</a>
-      class to perform console input and output.
+ 下面的基于POSIX的聊天客户端示例程序演示了如何使用<a class="link" href="reference/posix__stream_descriptor.html" title="posix::stream_descriptor">posix::stream_descriptor</a>
+      类去执行控制台的输入、输出。
     </p>
<div class="itemizedlist"><ul type="disc"><li><a href="example/chat/posix_chat_client.cpp" target="_top">boost_asio/example/chat/posix_chat_client.cpp</a></li></ul></div>
 <a name="boost_asio.examples.echo"></a><h4>
@@ -67,8 +64,7 @@
<a class="link" href="examples.html#boost_asio.examples.echo">Echo</a>
     </h4>
 <p>
- A collection of simple clients and servers, showing the use of both synchronous
-      and asynchronous operations.
+      一个简单的客户机和服务器容器,展示同时使用同步和异步操作。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/echo/async_tcp_echo_server.cpp" target="_top">boost_asio/example/echo/async_tcp_echo_server.cpp</a></li>
@@ -83,10 +79,9 @@
<a class="link" href="examples.html#boost_asio.examples.http_client">HTTP Client</a>
     </h4>
 <p>
- Example programs implementing simple HTTP 1.0 clients. These examples show - how to use the <a class="link" href="reference/read_until.html" title="read_until">read_until</a> - and <a class="link" href="reference/async_read_until.html" title="async_read_until">async_read_until</a>
-      functions.
+ 范例程序执行简单的HTTP 1.0客户端。上述例子说明如何使用<a class="link" href="reference/read_until.html" title="read_until">read_until</a> + 和 <a class="link" href="reference/async_read_until.html" title="async_read_until">async_read_until</a>
+      函数。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/http/client/sync_client.cpp" target="_top">boost_asio/example/http/client/sync_client.cpp</a></li>
@@ -97,9 +92,7 @@
<a class="link" href="examples.html#boost_asio.examples.http_server">HTTP Server</a>
     </h4>
 <p>
- This example illustrates the use of asio in a simple single-threaded server - implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown
-      by cancelling all outstanding asynchronous operations.
+ 这些例子示范了使用Asio在一个简单单线程服务器上执行HTTP1.0。它展示了如何执 行一个中断取消所有突出的异步操作。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/http/server/connection.cpp" target="_top">boost_asio/example/http/server/connection.cpp</a></li>
@@ -126,7 +119,7 @@
<a class="link" href="examples.html#boost_asio.examples.http_server_2">HTTP Server 2</a>
     </h4>
 <p>
-      An HTTP server using an io_service-per-CPU design.
+      使用io_service-per-CPU 设计的HTTP服务器。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/http/server2/connection.cpp" target="_top">boost_asio/example/http/server2/connection.cpp</a></li>
@@ -153,7 +146,7 @@
<a class="link" href="examples.html#boost_asio.examples.http_server_3">HTTP Server 3</a>
     </h4>
 <p>
- An HTTP server using a single io_service and a thread pool calling <code class="computeroutput"><span class="identifier">io_service</span><span class="special">::</span><span class="identifier">run</span><span class="special">()</span></code>. + 使用单一io_service 和由<code class="computeroutput"><span class="identifier">io_service</span><span class="special">::</span><span class="identifier">run</span><span class="special">()</span></code>调用的线 程池实现的HTTP服务器。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/http/server3/connection.cpp" target="_top">boost_asio/example/http/server3/connection.cpp</a></li>
@@ -178,8 +171,7 @@
<a class="link" href="examples.html#boost_asio.examples.invocation">Invocation</a>
     </h4>
 <p>
- This example shows how to customise handler invocation. Completion handlers
-      are added to a priority queue rather than executed immediately.
+ 这个例子说明如何自定义处理程序调用。需要完成的处理被加入到优先队列 中,而不是立即执行。
     </p>
<div class="itemizedlist"><ul type="disc"><li><a href="example/invocation/prioritised_handlers.cpp" target="_top">boost_asio/example/invocation/prioritised_handlers.cpp</a></li></ul></div>
 <a name="boost_asio.examples.iostreams"></a><h4>
@@ -187,7 +179,7 @@
<a class="link" href="examples.html#boost_asio.examples.iostreams">Iostreams</a>
     </h4>
 <p>
- Two examples showing how to use <a class="link" href="reference/ip__tcp/iostream.html" title="ip::tcp::iostream">ip::tcp::iostream</a>. + 展示如何去使用<a class="link" href="reference/ip__tcp/iostream.html" title="ip::tcp::iostream">ip::tcp::iostream</a>的两个例子
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/iostreams/daytime_client.cpp" target="_top">boost_asio/example/iostreams/daytime_client.cpp</a></li>
@@ -198,7 +190,7 @@
<a class="link" href="examples.html#boost_asio.examples.multicast">Multicast</a>
     </h4>
 <p>
- An example showing the use of multicast to transmit packets to a group of subscribers.
+      例子展示使用组播传送封包到一组用户。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/multicast/receiver.cpp" target="_top">boost_asio/example/multicast/receiver.cpp</a></li>
@@ -209,8 +201,7 @@
<a class="link" href="examples.html#boost_asio.examples.serialization">Serialization</a>
     </h4>
 <p>
- This example shows how Boost.Serialization can be used with asio to encode
-      and decode structures for transmission over a socket.
+ 示例如何在Asio中使用boost.serialization编码,解码结构,传输一个 socket。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/serialization/client.cpp" target="_top">boost_asio/example/serialization/client.cpp</a></li>
@@ -223,9 +214,8 @@
<a class="link" href="examples.html#boost_asio.examples.services">Services</a>
     </h4>
 <p>
- This example demonstrates how to integrate custom functionality (in this case, - for logging) into asio's <a class="link" href="reference/io_service.html" title="io_service">io_service</a>, - and how to use a custom service with <a class="link" href="reference/basic_stream_socket.html" title="basic_stream_socket">basic_stream_socket&lt;&gt;</a>. + 这个例子示范了如何为Asio的<a class="link" href="reference/io_service.html" title="io_service">io_service</a> + 组合定制功能(比如日志)和如何使用<a class="link" href="reference/basic_stream_socket.html" title="basic_stream_socket">basic_stream_socket&lt;&gt;</a>定制服务器。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/services/basic_logger.hpp" target="_top">boost_asio/example/services/basic_logger.hpp</a></li>
@@ -240,8 +230,7 @@
<a class="link" href="examples.html#boost_asio.examples.socks_4">SOCKS 4</a>
     </h4>
 <p>
- Example client program implementing the SOCKS 4 protocol for communication
-      via a proxy.
+      示例执行SOCKS 4 协议的代理类进行通信的客户端程序。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/socks4/sync_client.cpp" target="_top">boost_asio/example/socks4/sync_client.cpp</a></li>
@@ -252,8 +241,7 @@
       <a class="link" href="examples.html#boost_asio.examples.ssl">SSL</a>
     </h4>
 <p>
- Example client and server programs showing the use of the <a class="link" href="reference/ssl__stream.html" title="ssl::stream">ssl::stream&lt;&gt;</a>
-      template with asynchronous operations.
+ 示例使用<a class="link" href="reference/ssl__stream.html" title="ssl::stream">ssl::stream&lt;&gt;</a>模板运行异步的客户端和服务器程 序。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/ssl/client.cpp" target="_top">boost_asio/example/ssl/client.cpp</a></li>
@@ -264,8 +252,7 @@
<a class="link" href="examples.html#boost_asio.examples.timeouts">Timeouts</a>
     </h4>
 <p>
- A collection of examples showing how to cancel long running asynchronous operations
-      after a period of time.
+      展示如何取消长时间运行的异步操作的一组例子。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/timeouts/accept_timeout.cpp" target="_top">boost_asio/example/timeouts/accept_timeout.cpp</a></li>
@@ -278,7 +265,7 @@
<a class="link" href="examples.html#boost_asio.examples.timers">Timers</a>
     </h4>
 <p>
- Examples showing how to customise deadline_timer using different time types.
+      示例如何使用不同的时间类型定制deadline_timer。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/timers/tick_count_timer.cpp" target="_top">boost_asio/example/timers/tick_count_timer.cpp</a></li>
@@ -289,8 +276,7 @@
<a class="link" href="examples.html#boost_asio.examples.porthopper">Porthopper</a>
     </h4>
 <p>
- Example illustrating mixed synchronous and asynchronous operations, and how
-      to use Boost.Lambda with Boost.Asio.
+      示例如何混合同步和异步操作,以及如何在Boost.Asio中使用Boost.Lambda。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/porthopper/protocol.hpp" target="_top">boost_asio/example/porthopper/protocol.hpp</a></li>
@@ -302,8 +288,7 @@
<a class="link" href="examples.html#boost_asio.examples.nonblocking">Nonblocking</a>
     </h4>
 <p>
- Example demonstrating reactor-style operations for integrating a third-party
-      library that wants to perform the I/O operations itself.
+      例子演示了基于reactor风格的如何使用第三方库去处理I/O操作。
     </p>
<div class="itemizedlist"><ul type="disc"><li><a href="example/nonblocking/third_party_lib.cpp" target="_top">boost_asio/example/nonblocking/third_party_lib.cpp</a></li></ul></div>
 <a name="boost_asio.examples.unix_domain_sockets"></a><h4>
@@ -311,7 +296,7 @@
<a class="link" href="examples.html#boost_asio.examples.unix_domain_sockets">UNIX Domain Sockets</a>
     </h4>
 <p>
-      Examples showing how to use UNIX domain (local) sockets.
+      示例如何去使用UNIX本地Socket。
     </p>
 <div class="itemizedlist"><ul type="disc">
<li><a href="example/local/connect_pair.cpp" target="_top">boost_asio/example/local/connect_pair.cpp</a></li>
@@ -323,8 +308,7 @@
<a class="link" href="examples.html#boost_asio.examples.windows">Windows</a>
     </h4>
 <p>
- An example showing how to use the Windows-specific function <code class="computeroutput"><span class="identifier">TransmitFile</span></code>
-      with Boost.Asio.
+ 示例如何去使用Boost.Asio中特定于Windows平台的函数<code class="computeroutput"><span class="identifier">TransmitFile</span></code>。
     </p>
<div class="itemizedlist"><ul type="disc"><li><a href="example/windows/transmit_file.cpp" target="_top">boost_asio/example/windows/transmit_file.cpp</a></li></ul></div>
 </div>
=======================================
--- /trunk/doc/html/boost_asio/index.html       Wed May 27 03:09:50 2009
+++ /trunk/doc/html/boost_asio/index.html       Tue Aug 25 01:36:08 2009
@@ -1,6 +1,6 @@
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title></title>
 <link rel="stylesheet" href="../boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
=======================================
--- /trunk/doc/html/boost_asio/reference.html   Wed May 27 03:09:50 2009
+++ /trunk/doc/html/boost_asio/reference.html   Tue Aug 25 01:36:08 2009
@@ -1,6 +1,6 @@
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>Reference</title>
 <link rel="stylesheet" href="../boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_asio.reference"></a><a class="link" href="reference.html" title="Reference"> Reference</a> +<a name="boost_asio.reference"></a><a class="link" href="reference.html" title="Reference"> 参考</a>
 </h2></div></div></div>
 <div class="informaltable">
 <table class="table">
@@ -36,12 +36,12 @@
 </colgroup>
 <thead><tr><th colspan="4" valign="center">
           <h3>
-<a name="id1175228"></a>Core</h3>
+<a name="id1175228"></a>核心</h3>
         </th></tr></thead>
 <tbody><tr>
 <td valign="top">
           <h4>
-<a name="id1175245"></a>Classes</h4>
+<a name="id1175245"></a>类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/const_buffer.html" title="const_buffer">const_buffer</a></td></tr> <tr><td><a class="link" href="reference/const_buffers_1.html" title="const_buffers_1">const_buffers_1</a></td></tr>
@@ -58,7 +58,7 @@
<tr><td><a class="link" href="reference/streambuf.html" title="streambuf">streambuf</a></td></tr>
 </table>
           <h4>
-<a name="id1175380"></a>Class Templates</h4>
+<a name="id1175380"></a>模板类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/basic_io_object.html" title="basic_io_object">basic_io_object</a></td></tr> <tr><td><a class="link" href="reference/basic_streambuf.html" title="basic_streambuf">basic_streambuf</a></td></tr>
@@ -70,7 +70,7 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1175457"></a>Free Functions</h4>
+<a name="id1175457"></a>全局函数</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/add_service.html" title="add_service">add_service</a></td></tr> <tr><td><a class="link" href="reference/asio_handler_allocate.html" title="asio_handler_allocate">asio_handler_allocate</a></td></tr>
@@ -97,14 +97,14 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1175665"></a>Placeholders</h4>
+<a name="id1175665"></a>占位符</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/placeholders__bytes_transferred.html" title="placeholders::bytes_transferred">placeholders::bytes_transferred</a></td></tr> <tr><td><a class="link" href="reference/placeholders__error.html" title="placeholders::error">placeholders::error</a></td></tr> <tr><td><a class="link" href="reference/placeholders__iterator.html" title="placeholders::iterator">placeholders::iterator</a></td></tr>
 </table>
           <h4>
-<a name="id1175709"></a>Error Codes</h4>
+<a name="id1175709"></a>错误码</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/error__basic_errors.html" title="error::basic_errors">error::basic_errors</a></td></tr> <tr><td><a class="link" href="reference/error__netdb_errors.html" title="error::netdb_errors">error::netdb_errors</a></td></tr>
@@ -112,7 +112,7 @@
<tr><td><a class="link" href="reference/error__misc_errors.html" title="error::misc_errors">error::misc_errors</a></td></tr>
 </table>
           <h4>
-<a name="id1175764"></a>Type Traits</h4>
+<a name="id1175764"></a>类型粹取</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/is_match_condition.html" title="is_match_condition">is_match_condition</a></td></tr> <tr><td><a class="link" href="reference/is_read_buffered.html" title="is_read_buffered">is_read_buffered</a></td></tr>
@@ -121,7 +121,7 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1175810"></a>Type Requirements</h4>
+<a name="id1175810"></a>类型要求</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/asynchronous_operations.html" title="Requirements on asynchronous operations">Asynchronous operations</a></td></tr> <tr><td><a class="link" href="reference/AsyncRandomAccessReadDevice.html" title="Buffer-oriented asynchronous random-access read device requirements">AsyncRandomAccessReadDevice</a></td></tr>
@@ -155,12 +155,12 @@
 </colgroup>
 <thead><tr><th colspan="4" valign="center">
           <h3>
-<a name="id1176047"></a>Networking</h3>
+<a name="id1176047"></a>网络</h3>
         </th></tr></thead>
 <tbody><tr>
 <td valign="top">
           <h4>
-<a name="id1176064"></a>Classes</h4>
+<a name="id1176064"></a>类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/ip__address.html" title="ip::address">ip::address</a></td></tr> <tr><td><a class="link" href="reference/ip__address_v4.html" title="ip::address_v4">ip::address_v4</a></td></tr>
@@ -183,12 +183,12 @@
<tr><td><a class="link" href="reference/socket_base.html" title="socket_base">socket_base</a></td></tr>
 </table>
           <h4>
-<a name="id1176255"></a>Free Functions</h4>
+<a name="id1176255"></a>全局函数</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/ip__host_name.html" title="ip::host_name">ip::host_name</a></td></tr></table>
         </td>
 <td valign="top">
           <h4>
-<a name="id1176281"></a>Class Templates</h4>
+<a name="id1176281"></a>模板类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/basic_datagram_socket.html" title="basic_datagram_socket">basic_datagram_socket</a></td></tr> <tr><td><a class="link" href="reference/basic_deadline_timer.html" title="basic_deadline_timer">basic_deadline_timer</a></td></tr>
@@ -205,7 +205,7 @@
<tr><td><a class="link" href="reference/ip__basic_resolver_query.html" title="ip::basic_resolver_query">ip::basic_resolver_query</a></td></tr>
 </table>
           <h4>
-<a name="id1176422"></a>Services</h4>
+<a name="id1176422"></a>服务</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/datagram_socket_service.html" title="datagram_socket_service">datagram_socket_service</a></td></tr> <tr><td><a class="link" href="reference/ip__resolver_service.html" title="ip::resolver_service">ip::resolver_service</a></td></tr>
@@ -216,7 +216,7 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1176490"></a>Socket Options</h4>
+<a name="id1176490"></a>Socket选项</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/ip__multicast__enable_loopback.html" title="ip::multicast::enable_loopback">ip::multicast::enable_loopback</a></td></tr> <tr><td><a class="link" href="reference/ip__multicast__hops.html" title="ip::multicast::hops">ip::multicast::hops</a></td></tr>
@@ -241,13 +241,13 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1176708"></a>I/O Control Commands</h4>
+<a name="id1176708"></a>I/O控制命令</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/socket_base/bytes_readable.html" title="socket_base::bytes_readable">socket_base::bytes_readable</a></td></tr> <tr><td><a class="link" href="reference/socket_base/non_blocking_io.html" title="socket_base::non_blocking_io">socket_base::non_blocking_io</a></td></tr>
 </table>
           <h4>
-<a name="id1176743"></a>Type Requirements</h4>
+<a name="id1176743"></a>类型要求</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/AcceptHandler.html" title="Accept handler requirements">AcceptHandler</a></td></tr> <tr><td><a class="link" href="reference/ConnectHandler.html" title="Connect handler requirements">ConnectHandler</a></td></tr>
@@ -278,7 +278,7 @@
 <thead><tr>
 <th valign="center">
           <h3>
-<a name="id1176943"></a>Timers</h3>
+<a name="id1176943"></a>计时器</h3>
         </th>
 <th valign="center">
           <h3>
@@ -286,25 +286,25 @@
         </th>
 <th colspan="2" valign="center">
           <h3>
-<a name="id1176972"></a>Serial Ports</h3>
+<a name="id1176972"></a>串行端口</h3>
         </th>
 </tr></thead>
 <tbody><tr>
 <td valign="top">
           <h4>
-<a name="id1176989"></a>Classes</h4>
+<a name="id1176989"></a>类</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/deadline_timer.html" title="deadline_timer">deadline_timer</a></td></tr></table>
           <h4>
-<a name="id1177012"></a>Class Templates</h4>
+<a name="id1177012"></a>模板类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/basic_deadline_timer.html" title="basic_deadline_timer">basic_deadline_timer</a></td></tr> <tr><td><a class="link" href="reference/time_traits_lt__ptime__gt_.html" title="time_traits&lt; boost::posix_time::ptime &gt;">time_traits</a></td></tr>
 </table>
           <h4>
-<a name="id1177043"></a>Services</h4>
+<a name="id1177043"></a>服务</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/deadline_timer_service.html" title="deadline_timer_service">deadline_timer_service</a></td></tr></table>
           <h4>
-<a name="id1177065"></a>Type Requirements</h4>
+<a name="id1177065"></a>类型要求</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/TimerService.html" title="Timer service requirements">TimerService</a></td></tr> <tr><td><a class="link" href="reference/TimeTraits.html" title="Time traits requirements">TimeTraits</a></td></tr>
@@ -313,20 +313,20 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1177112"></a>Classes</h4>
+<a name="id1177112"></a>类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/ssl__context.html" title="ssl::context">ssl::context</a></td></tr> <tr><td><a class="link" href="reference/ssl__context_base.html" title="ssl::context_base">ssl::context_base</a></td></tr> <tr><td><a class="link" href="reference/ssl__stream_base.html" title="ssl::stream_base">ssl::stream_base</a></td></tr>
 </table>
           <h4>
-<a name="id1177153"></a>Class Templates</h4>
+<a name="id1177153"></a>模板类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/ssl__basic_context.html" title="ssl::basic_context">ssl::basic_context</a></td></tr> <tr><td><a class="link" href="reference/ssl__stream.html" title="ssl::stream">ssl::stream</a></td></tr>
 </table>
           <h4>
-<a name="id1177183"></a>Services</h4>
+<a name="id1177183"></a>服务</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/ssl__context_service.html" title="ssl::context_service">ssl::context_service</a></td></tr> <tr><td><a class="link" href="reference/ssl__stream_service.html" title="ssl::stream_service">ssl::stream_service</a></td></tr>
@@ -334,21 +334,21 @@
         </td>
 <td valign="top">
           <h4>
-<a name="id1177218"></a>Classes</h4>
+<a name="id1177218"></a>类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/serial_port.html" title="serial_port">serial_port</a></td></tr> <tr><td><a class="link" href="reference/serial_port_base.html" title="serial_port_base">serial_port_base</a></td></tr>
 </table>
           <h4>
-<a name="id1177250"></a>Class Templates</h4>
+<a name="id1177250"></a>模板类</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/basic_serial_port.html" title="basic_serial_port">basic_serial_port</a></td></tr></table>
           <h4>
-<a name="id1177272"></a>Services</h4>
+<a name="id1177272"></a>服务</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/serial_port_service.html" title="serial_port_service">serial_port_service</a></td></tr></table>
         </td>
 <td valign="top">
           <h4>
-<a name="id1177298"></a>Serial Port Options</h4>
+<a name="id1177298"></a>串行端口选项</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/serial_port_base__baud_rate.html" title="serial_port_base::baud_rate">serial_port_base::baud_rate</a></td></tr> <tr><td><a class="link" href="reference/serial_port_base__flow_control.html" title="serial_port_base::flow_control">serial_port_base::flow_control</a></td></tr>
@@ -357,7 +357,7 @@
<tr><td><a class="link" href="reference/serial_port_base__character_size.html" title="serial_port_base::character_size">serial_port_base::character_size</a></td></tr>
 </table>
           <h4>
-<a name="id1177359"></a>Type Requirements</h4>
+<a name="id1177359"></a>类型要求</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/GettableSerialPortOption.html" title="Gettable serial port option requirements">GettableSerialPortOption</a></td></tr> <tr><td><a class="link" href="reference/SerialPortService.html" title="Serial port service requirements">SerialPortService</a></td></tr>
@@ -376,17 +376,17 @@
 <thead><tr>
 <th colspan="2" valign="center">
           <h3>
-<a name="id1177440"></a>POSIX-specific</h3>
+<a name="id1177440"></a>基于POSIX</h3>
         </th>
 <th colspan="2" valign="center">
           <h3>
-<a name="id1177454"></a>Windows-specific</h3>
+<a name="id1177454"></a>基于Windows</h3>
         </th>
 </tr></thead>
 <tbody><tr>
 <td valign="top">
           <h4>
-<a name="id1177472"></a>Classes</h4>
+<a name="id1177472"></a>类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/local__stream_protocol.html" title="local::stream_protocol">local::stream_protocol</a></td></tr> <tr><td><a class="link" href="reference/local__stream_protocol/acceptor.html" title="local::stream_protocol::acceptor">local::stream_protocol::acceptor</a></td></tr>
@@ -400,22 +400,22 @@
<tr><td><a class="link" href="reference/posix__stream_descriptor.html" title="posix::stream_descriptor">posix::stream_descriptor</a></td></tr>
 </table>
           <h4>
-<a name="id1177582"></a>Free Functions</h4>
+<a name="id1177582"></a>全局函数</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/local__connect_pair.html" title="local::connect_pair">local::connect_pair</a></td></tr></table>
         </td>
 <td valign="top">
           <h4>
-<a name="id1177608"></a>Class Templates</h4>
+<a name="id1177608"></a>模板类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/local__basic_endpoint.html" title="local::basic_endpoint">local::basic_endpoint</a></td></tr> <tr><td><a class="link" href="reference/posix__basic_descriptor.html" title="posix::basic_descriptor">posix::basic_descriptor</a></td></tr> <tr><td><a class="link" href="reference/posix__basic_stream_descriptor.html" title="posix::basic_stream_descriptor">posix::basic_stream_descriptor</a></td></tr>
 </table>
           <h4>
-<a name="id1177652"></a>Services</h4>
+<a name="id1177652"></a>服务</h4>
<table class="simplelist" border="0" summary="Simple list"><tr><td><a class="link" href="reference/posix__stream_descriptor_service.html" title="posix::stream_descriptor_service">posix::stream_descriptor_service</a></td></tr></table>
           <h4>
-<a name="id1177674"></a>Type Requirements</h4>
+<a name="id1177674"></a>类型要求</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/DescriptorService.html" title="Descriptor service requirements">DescriptorService</a></td></tr> <tr><td><a class="link" href="reference/StreamDescriptorService.html" title="Stream descriptor service requirements">StreamDescriptorService</a></td></tr>
@@ -423,27 +423,27 @@
         </td>
 <td colspan="2" valign="top">
           <h4>
-<a name="id1177716"></a>Classes</h4>
+<a name="id1177716"></a>类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/windows__overlapped_ptr.html" title="windows::overlapped_ptr">windows::overlapped_ptr</a></td></tr> <tr><td><a class="link" href="reference/windows__random_access_handle.html" title="windows::random_access_handle">windows::random_access_handle</a></td></tr> <tr><td><a class="link" href="reference/windows__stream_handle.html" title="windows::stream_handle">windows::stream_handle</a></td></tr>
 </table>
           <h4>
-<a name="id1177759"></a>Class Templates</h4>
+<a name="id1177759"></a>模板类</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/windows__basic_handle.html" title="windows::basic_handle">windows::basic_handle</a></td></tr> <tr><td><a class="link" href="reference/windows__basic_random_access_handle.html" title="windows::basic_random_access_handle">windows::basic_random_access_handle</a></td></tr> <tr><td><a class="link" href="reference/windows__basic_stream_handle.html" title="windows::basic_stream_handle">windows::basic_stream_handle</a></td></tr>
 </table>
           <h4>
-<a name="id1177801"></a>Services</h4>
+<a name="id1177801"></a>服务</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/windows__random_access_handle_service.html" title="windows::random_access_handle_service">windows::random_access_handle_service</a></td></tr> <tr><td><a class="link" href="reference/windows__stream_handle_service.html" title="windows::stream_handle_service">windows::stream_handle_service</a></td></tr>
 </table>
           <h4>
-<a name="id1177833"></a>Type Requirements</h4>
+<a name="id1177833"></a>类型要求</h4>
           <table class="simplelist" border="0" summary="Simple list">
<tr><td><a class="link" href="reference/HandleService.html" title="Handle service requirements">HandleService</a></td></tr> <tr><td><a class="link" href="reference/RandomAccessHandleService.html" title="Random access handle service requirements">RandomAccessHandleService</a></td></tr>
=======================================
--- /trunk/doc/html/boost_asio/using.html       Wed May 27 03:09:50 2009
+++ /trunk/doc/html/boost_asio/using.html       Tue Aug 25 01:36:08 2009
@@ -1,6 +1,6 @@
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>Using Boost.Asio</title>
 <link rel="stylesheet" href="../boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
@@ -24,119 +24,115 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_asio.using"></a><a class="link" href="using.html" title="Using Boost.Asio"> Using Boost.Asio</a> +<a name="boost_asio.using"></a><a class="link" href="using.html" title="Using Boost.Asio"> 使用Boost.Asio</a>
 </h2></div></div></div>
 <a name="boost_asio.using.supported_platforms"></a><h4>
 <a name="id1104521"></a>
- <a class="link" href="using.html#boost_asio.using.supported_platforms">Supported Platforms</a> + <a class="link" href="using.html#boost_asio.using.supported_platforms">支持平台</a>
     </h4>
 <p>
-      The following platforms and compilers have been tested:
+      已测试的平台和编译器:
     </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
-        Win32 and Win64 using Visual C++ 7.1 and Visual C++ 8.0.
+        Win32和Win64下使用VC7和VC8。
       </li>
 <li>
-        Win32 using MinGW.
+        Win32下使用MinGW。
       </li>
 <li>
- Win32 using Cygwin. (<code class="computeroutput"><span class="identifier">__USE_W32_SOCKETS</span></code>
-        must be defined.)
+ Win32下使用Cygwin。(<code class="computeroutput"><span class="identifier">__USE_W32_SOCKETS</span></code>
+        必须被定义。)
       </li>
 <li>
-        Linux (2.4 or 2.6 kernels) using g++ 3.3 or later.
+        Linux(2.4或2.6内核)下使用g++ 3.3或更高版本。
       </li>
 <li>
-        Solaris using g++ 3.3 or later.
+        Solaris下使用g++ 3.3或更高版本。
       </li>
 <li>
-        Mac OS X 10.4 using g++ 3.3 or later.
+        Mac OS X 10.4下使用g++ 3.3或更高版本。
       </li>
 </ul></div>
 <p>
-      The following platforms may also work:
+      以下的平台可能也可以使用:
     </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
-        AIX 5.3 using XL C/C++ v9.
+        AIX 5.3下使用XL C/C++ v9。
       </li>
 <li>
-        HP-UX 11i v3 using patched aC++ A.06.14.
+        HP-UX 11i v3下使用打过补丁的aC++ A.06.14。
       </li>
 <li>
-        QNX Neutrino 6.3 using g++ 3.3 or later.
+        QNX Neutrino 6.3下使用g++ 3.3或更高版本。
       </li>
 <li>
-        Solaris using Sun Studio 11 or later.
+        Solaris下使用Sun Studio 11或更高版本。
       </li>
 <li>
-        Tru64 v5.1 using Compaq C++ v7.1.
+        Tru64 v5.1下使用Compaq C++ v7.1。
       </li>
 <li>
-        Win32 using Borland C++ 5.9.2
+        Win32下使用Borland C++ 5.9.2。
       </li>
 </ul></div>
 <a name="boost_asio.using.dependencies"></a><h4>
 <a name="id1104617"></a>
- <a class="link" href="using.html#boost_asio.using.dependencies">Dependencies</a> + <a class="link" href="using.html#boost_asio.using.dependencies">依赖 </a>
     </h4>
 <p>
- The following libraries must be available in order to link programs that use
-      Boost.Asio:
+      以下是使用Boost.Asio 必需的链接库:
     </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
- Boost.System for the <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span></code> - and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">system_error</span></code> classes. + Boost.System中的<code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span></code> + 和 <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">system_error</span></code> 类。
       </li>
 <li>
- Boost.Regex (optional) if you use any of the <a class="link" href="reference/read_until.html" title="read_until"><code class="computeroutput"><span class="identifier">read_until</span><span class="special">()</span></code></a> - or <a class="link" href="reference/async_read_until.html" title="async_read_until"><code class="computeroutput"><span class="identifier">async_read_until</span><span class="special">()</span></code></a> overloads that take a <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">regex</span></code> parameter.
+        Boost.Regex (可选)。
+ <a class="link" href="reference/read_until.html" title="read_until"> + <code class="computeroutput"><span class="identifier">read_until</span><span class="special">()</span></code></a> + 或 <a class="link" href="reference/async_read_until.html" title="async_read_until"> + <code class="computeroutput"><span class="identifier">async_read_until</span><span class="special">()</span></code></a> + 函数的重载形式都需要<code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">regex</span></code>参数。 如果你使用它们,则需要 Boost.Regex库。
       </li>
 <li>
-<a href="http://www.openssl.org"; target="_top">OpenSSL</a> (optional) if you use
-        Boost.Asio's SSL support.
+<a href="http://www.openssl.org"; target="_top">OpenSSL</a> (可选) 如果需要 Boost.Asio支持SSL,则需要OpenSSL库。
       </li>
 </ul></div>
 <p>
- Furthermore, some of the examples also require the Boost.Thread, Boost.Date_Time
-      or Boost.Serialization libraries.
+ 另外,一些例子需要提供Boost.Thread,Boost.Date_Time 或 Boost.Serialization 库的支持。
     </p>
 <div class="note"><table border="0" summary="Note">
 <tr>
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../doc/html/images/note.png"></td>
-<th align="left">Note</th>
+<th align="left">注意</th>
 </tr>
 <tr><td align="left" valign="top"><p>
- With MSVC or Borland C++ you may want to add <code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_DATE_TIME_NO_LIB</span></code> and <code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_REGEX_NO_LIB</span></code> - to your project settings to disable autolinking of the Boost.Date_Time and - Boost.Regex libraries respectively. Alternatively, you may choose to build
-        these libraries and link to them.
+ 使用MSVC或Borland C++,你可能需要在“工程设置”中分别添加<code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_DATE_TIME_NO_LIB</span></code> + 和<code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_REGEX_NO_LIB</span></code> 声明, + 分别禁止Boost.Date_Time和Boost.Regex的自动链接,当然你也可以这样 做:build这两个库,然后链接。
       </p></td></tr>
 </table></div>
 <a name="boost_asio.using.building_boost_libraries"></a><h4>
 <a name="id1104825"></a>
- <a class="link" href="using.html#boost_asio.using.building_boost_libraries">Building Boost Libraries</a> + <a class="link" href="using.html#boost_asio.using.building_boost_libraries">编译Boost库</a>
     </h4>
 <p>
- You may build the subset of Boost libraries required to use Boost.Asio and - its examples by running the following command from the root of the Boost download
-      package:
+ 你可以在下载包的根目录下执行如下的命令来编译Boost.Asio所必需的Boost库 子集:
     </p>
<pre class="programlisting">bjam --with-system --with-thread --with-date_time --with-regex --with-serialization stage
 </pre>
 <p>
- This assumes that you have already built <code class="computeroutput"><span class="identifier">bjam</span></code>.
-      Consult the Boost.Build documentation for more details.
+ 这里假设你已经编译了<code class="computeroutput"><span class="identifier">bjam</span></code>。请参考Boost.Build文档以获得更多信息。
     </p>
 <a name="boost_asio.using.macros"></a><h4>
 <a name="id1104876"></a>
-      <a class="link" href="using.html#boost_asio.using.macros">Macros</a>
+      <a class="link" href="using.html#boost_asio.using.macros">宏</a>
     </h4>
 <p>
- The macros listed in the table below may be used to control the behaviour of
-      Boost.Asio.
+      下表中的宏用来控制Boost.Asio的状态。
     </p>
 <div class="informaltable"><table class="table">
 <colgroup>
@@ -146,12 +142,12 @@
 <thead><tr>
 <th>
             <p>
-              Macro
+              宏
             </p>
             </th>
 <th>
             <p>
-              Description
+              描述
             </p>
             </th>
 </tr></thead>
@@ -417,7 +413,7 @@
 </table></div>
 <a name="boost_asio.using.mailing_list"></a><h4>
 <a name="id1105816"></a>
- <a class="link" href="using.html#boost_asio.using.mailing_list">Mailing List</a> + <a class="link" href="using.html#boost_asio.using.mailing_list">邮件 列表</a>
     </h4>
 <p>
A mailing list specifically for Boost.Asio may be found on <a href="http://sourceforge.net/mail/?group_id=122478"; target="_top">SourceForge.net</a>.

Other related posts:

  • » [boost-doc-zh] r301 committed - [No log message] - codesite-noreply