src/lib/boost/asio/raw_socket_service.hpp
boost::system::error_code open(implementation_type& impl,
      const protocol_type& protocol, boost::system::error_code& ec)
  {
    if (protocol.type() == SOCK_RAW)
      service_impl_.open(impl, protocol, ec);
    else
      ec = boost::asio::error::invalid_argument;
    return ec;
  }
// Open a new raw socket implementation.
Open a new raw socket implementation.
Open a new raw socket implementation .
boost::system::error_code open(implementation_type& impl,
      const protocol_type& protocol, boost::system::error_code& ec)
  {
    if (protocol.type() == SOCK_RAW)
      service_impl_.open(impl, protocol, ec);
    else
      ec = boost::asio::error::invalid_argument;
    return ec;
  }
boost :: system :: error_code open ( implementation_type & impl , const protocol_type & protocol , boost :: system :: error_code & ec ) { if ( protocol . type ( ) == SOCK_RAW ) service_impl_ . open ( impl , protocol , ec ) ; else ec = boost :: asio :: error :: invalid_argument ; return ec ; }
Open a new raw socket implementation.
Open a new raw socket implementation .