Boost C++ Libraries/Boost.Asio

Boost.Asio 색인 - basic_datagram_socket::basic_datagram_socket

까마귀75 2021. 1. 10. 14:45
728x90
반응형

basic_datagram_socket::basic_datagram_socket

basic_datagram_socket을 열지 않고 생성하는 생성자(constructor)

[1 / 10 오버로드]

explicit basic_datagram_socket(
    const executor_type & ex);

[basic_datagram_socket]

 

[2 / 10 오버로드]

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

[basic_datagram_socket]


basic_datagram_socket을 열고 생성하는 생성자(constructor)

[3 / 10 오버로드]

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

[basic_datagram_socket]

 

[4 / 10 오버로드]

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

[basic_datagram_socket]


basic_datagram_socket을 열고 그것을 주어진 로컬 엔드포인트에 바인딩하여 생성하는 생성자(constructor)

[5 / 10 오버로드]

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

[basic_datagram_socket]

 

[6 / 10 오버로드]

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

[basic_datagram_socket]


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

[7 / 10 오버로드]

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

[basic_datagram_socket]

 

[8 / 10 오버로드]

template<
    typename ExecutionContext>
basic_datagram_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_datagram_socket]


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

[9 / 10 오버로드]

basic_datagram_socket(
    basic_datagram_socket && other);

[basic_datagram_socket]


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

[10 / 10 오버로드]

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

[Protocol1, Executor1, basic_datagram_socket]


Boost.Asio 홈

728x90
반응형