Home | History | Annotate | Download | only in detail

Lines Matching defs:endpoint

50   // The endpoint type.
51 typedef typename Protocol::endpoint endpoint_type;
106 other_impl.protocol_ = typename Protocol1::endpoint().protocol();
135 // Bind the socket to the specified local endpoint.
137 const endpoint_type& endpoint, asio::error_code& ec)
139 socket_ops::bind(impl.socket_, endpoint.data(), endpoint.size(), ec);
168 // Get the local endpoint.
172 endpoint_type endpoint;
173 std::size_t addr_len = endpoint.capacity();
174 if (socket_ops::getsockname(impl.socket_, endpoint.data(), &addr_len, ec))
176 endpoint.resize(addr_len);
177 return endpoint;
180 // Get the remote endpoint.
184 endpoint_type endpoint;
185 std::size_t addr_len = endpoint.capacity();
187 endpoint.data(), &addr_len, false, ec))
189 endpoint.resize(addr_len);
190 return endpoint;
193 // Send a datagram to the specified endpoint. Returns the number of bytes
266 // Receive a datagram with the endpoint of the sender. Returns the number of
296 // Reset endpoint since it can be given no sensible value at this time.
352 // Reset endpoint since it can be given no sensible value at this time.
414 // Connect the socket to the specified endpoint.