title: Boost::asio to Struct (like recv)
body: <p>i wanted to ask, if there is a possibility to receive from  boost::asio::ip::udp::socket the data directly into a struct like in standard BSD Sockets:</p>
  <pre><code>    struct T;
      size = recv(sock,&amp;T,sizeof(T));
  </code></pre>
  <p>Since i receive a lot of fixed size data,, i really do not  want to copy the data into a buffer first and from there into a struct. If this is not easy achievable i will stick to standard BSD sockets again. The Struct is serializable, and that problem should not be a Concern at this moment.</p>