Networking TS

PrevUpHomeNext

async_read

Start an asynchronous operation to read a certain amount of data from a stream.

template<
    typename AsyncReadStream,
    typename MutableBufferSequence,
    typename ReadHandler>
DEDUCED async_read(
    AsyncReadStream & s,
    const MutableBufferSequence & buffers,
    ReadHandler && handler,
    typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename AsyncReadStream,
    typename MutableBufferSequence,
    typename CompletionCondition,
    typename ReadHandler>
DEDUCED async_read(
    AsyncReadStream & s,
    const MutableBufferSequence & buffers,
    CompletionCondition completion_condition,
    ReadHandler && handler,
    typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename AsyncReadStream,
    typename DynamicBuffer,
    typename ReadHandler>
DEDUCED async_read(
    AsyncReadStream & s,
    DynamicBuffer && buffers,
    ReadHandler && handler,
    typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type *  = 0);
  » more...

template<
    typename AsyncReadStream,
    typename DynamicBuffer,
    typename CompletionCondition,
    typename ReadHandler>
DEDUCED async_read(
    AsyncReadStream & s,
    DynamicBuffer && buffers,
    CompletionCondition completion_condition,
    ReadHandler && handler,
    typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type *  = 0);
  » more...

PrevUpHomeNext