Fixed socket typedef, it is a raw socket, not stream socket
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Fri, 22 Jul 2011 02:05:55 +0000 (23:05 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Fri, 22 Jul 2011 02:05:55 +0000 (23:05 -0300)
lib/boost-custom/boost/asio/ip/tcp_raw_protocol.hpp

index cd9a137..1553d9d 100644 (file)
@@ -73,8 +73,8 @@ public:
         return family_;
     }
 
-    /// The TCP socket type.
-    typedef basic_stream_socket< tcp_raw_protocol > socket;
+    /// The raw TCP socket type.
+    typedef basic_raw_socket< tcp_raw_protocol > socket;
 
     /// The TCP acceptor type.
     typedef basic_socket_acceptor< tcp_raw_protocol > acceptor;