Wait for the socket to become ready to read, ready to write, or to have pending error conditions.
void wait( wait_type w); » more... void wait( wait_type w, boost::system::error_code & ec); » more...