Disable sends or receives on the socket.
void shutdown( shutdown_type what); » more... void shutdown( shutdown_type what, asio::error_code & ec); » more...