Urdl C++ Library

PrevUpHomeNext
read_stream::close (2 of 2 overloads)

Closes the stream.

boost::system::error_code close(
    boost::system::error_code & ec);

Parameters

ec

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.


PrevUpHomeNext