Update of /cvsroot/boost/boost/libs/asio/example/tutorial/daytime6
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17073/libs/asio/example/tutorial/daytime6

Modified Files:
        server.cpp 
Log Message:
Change error handling to match TR2 proposal.


Index: server.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/example/tutorial/daytime6/server.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- server.cpp  25 Jul 2006 11:04:04 -0000      1.2
+++ server.cpp  8 Nov 2006 05:32:16 -0000       1.3
@@ -44,7 +44,7 @@
           boost::asio::placeholders::bytes_transferred));
   }
 
-  void handle_receive(const boost::asio::error& error,
+  void handle_receive(const boost::system::error_code& error,
       std::size_t /*bytes_transferred*/)
   {
     if (!error || error == boost::asio::error::message_size)
@@ -62,7 +62,8 @@
   }
 
   void handle_send(boost::shared_ptr<std::string> /*message*/,
-      const boost::asio::error& /*error*/, std::size_t /*bytes_transferred*/)
+      const boost::system::error_code& /*error*/,
+      std::size_t /*bytes_transferred*/)
   {
   }
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to