Closes the stream.
boost::system::error_code close( boost::system::error_code & ec);
Parameters
Set to indicate what error occurred, if any.
Return Value
ec
.
Remarks
Any asynchronous open or read operations will be cancelled, and will
complete with the boost::asio::error::operation_aborted
error.