title: Usage of send and send_to when using boost::asio::ip::udp
body: <p>In <code>boost::asio</code> documentation, as far as I could understand, <code>send</code> is used to send data to a connected socket while <code>send_to</code> is used to send data to unconnected socket. I using the command <code>nc -u -l 12345</code> to listen to udp traffic on one computer and I try to send some text data from another computer. I took the example code of <a href="http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/example/cpp11/echo/blocking_udp_echo_client.cpp" rel="nofollow">blocking udp echo client</a>. This example uses <code>send_to</code> method (for unconnected sockets), I would like to rewrite it so it will use the <code>send</code> method (for connected sockets), how do I do this? How can I make my udp socket connected? I used <code>bind</code> with my socket and it returned no error but my socket is still not connected. Is there an indication I can get from the system that my socket is connected (i.e. <code>netstat</code> or something like that)</p>