Boost C++ Libraries/Boost.Asio

Boost.Asio 색인 - basic_stream_socket::basic_stream_socket

까마귀75 2021. 1. 12. 11:46
728x90
반응형

basic_stream_socket::basic_stream_socket

스트림 소켓을 열지 않고 basic_stream_socket를 생성하는 생성자(constructor)

[1 / 10 오버로드]

explicit basic_stream_socket(
    const executor_type & ex);

[basic_stream_socket]

 

[2 / 10 오버로드]

template<
    typename ExecutionContext>
explicit basic_stream_socket(
    ExecutionContext & context,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);

[basic_stream_socket]


스트림 소켓을 열고 basic_stream_socket를 생성하는 생성자(constructor)

[3 / 10 오버로드]

basic_stream_socket(
    const executor_type & ex,
    const protocol_type & protocol);

[basic_stream_socket]

 

[4 / 10 오버로드]

template<
    typename ExecutionContext>
basic_stream_socket(
    ExecutionContext & context,
    const protocol_type & protocol,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);

[basic_stream_socket]


스트림 소켓을 열고 주어진 로컬 엔드포인트로 바인딩하여, basic_stream_socket를 생성하는 생성자(constructor)

[5 / 10 오버로드]

basic_stream_socket(
    const executor_type & ex,
    const endpoint_type & endpoint);

[basic_stream_socket]

 

[6 / 10 오버로드]

template<
    typename ExecutionContext>
basic_stream_socket(
    ExecutionContext & context,
    const endpoint_type & endpoint,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);

[basic_stream_socket]


주어진 기본(native) 소켓으로 basic_stream_socket를 생성하는 생성자(constructor)

[7 / 10 오버로드]

basic_stream_socket(
    const executor_type & ex,
    const protocol_type & protocol,
    const native_handle_type & native_socket);

[basic_stream_socket]

 

[8 / 10 오버로드]

template<
    typename ExecutionContext>
basic_stream_socket(
    ExecutionContext & context,
    const protocol_type & protocol,
    const native_handle_type & native_socket,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);

[basic_stream_socket]


다른 basic_stream_socket에서 basic_stream_socket을 이동 생성하는 이동-생성자(move constructor)

[9 / 10 오버로드]

basic_stream_socket(
    basic_stream_socket && other);

[basic_stream_socket]


다른 프로토콜 유형의 소켓에서 basic_stream_socket을 이동 생성하는 이동-생성자(move constructor)

[10 / 10 오버로드]

template<
    typename Protocol1,
    typename Executor1>
basic_stream_socket(
    basic_stream_socket< Protocol1, Executor1 > && other,
    typename enable_if< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value >::type *  = 0);

[Protocol1, Executor1, basic_stream_socket]


Boost.Asio 홈

728x90
반응형