Home | History | Annotate | Download | only in asio

Lines Matching refs:protocol

43  * acceptor.open(endpoint.protocol());
49 template <typename Protocol,
50 typename SocketAcceptorService = socket_acceptor_service<Protocol> >
63 /// The protocol type.
64 typedef Protocol protocol_type;
67 typedef typename Protocol::endpoint endpoint_type;
92 * @param protocol An object specifying protocol parameters to be used.
97 const protocol_type& protocol)
101 this->get_service().open(this->get_implementation(), protocol, ec);
124 * basic_socket_acceptor<Protocol> acceptor(io_service);
125 * acceptor.open(endpoint.protocol());
137 const protocol_type protocol = endpoint.protocol();
138 this->get_service().open(this->get_implementation(), protocol, ec);
162 * @param protocol An object specifying protocol parameters to be used.
169 const protocol_type& protocol, const native_handle_type& native_acceptor)
174 protocol, native_acceptor, ec);
216 /// protocol type.
229 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0)
236 /// Move-assign a basic_socket_acceptor from an acceptor of another protocol
248 typename enable_if<is_convertible<Protocol1, Protocol>::value,
259 /// Open the acceptor using the specified protocol.
262 * protocol.
264 * @param protocol An object specifying which protocol is to be used.
274 void open(const protocol_type& protocol = protocol_type())
277 this->get_service().open(this->get_implementation(), protocol, ec);
281 /// Open the acceptor using the specified protocol.
284 * protocol.
286 * @param protocol An object specifying which protocol is to be used.
301 asio::error_code open(const protocol_type& protocol,
304 return this->get_service().open(this->get_implementation(), protocol, ec);
311 * @param protocol An object specifying which protocol is to be used.
317 void assign(const protocol_type& protocol,
322 protocol, native_acceptor, ec);
330 * @param protocol An object specifying which protocol is to be used.
336 asio::error_code assign(const protocol_type& protocol,
340 protocol, native_acceptor, ec);
363 * acceptor.open(endpoint.protocol());
388 * acceptor.open(endpoint.protocol());
921 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0)
956 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0)
1005 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0)