mirror of
https://github.com/boostorg/asio.git
synced 2026-01-30 07:22:09 +00:00
Another tutorial fix to reflect current resolver API.
This commit is contained in:
@@ -277,8 +277,6 @@ The boost::asio::ip::udp::resolver::resolve() function is guaranteed to return a
|
||||
least one endpoint in the list if it does not fail. This means it is safe to
|
||||
dereference the return value directly.
|
||||
|
||||
\until udp::endpoint
|
||||
|
||||
Since UDP is datagram-oriented, we will not be using a stream socket. Create an
|
||||
boost::asio::ip::udp::socket and initiate contact with the remote endpoint.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user