Skip to content

asio::generic::datagram_protocol

Encapsulates the flags needed for a generic datagram-oriented socket.

詳細情報

メンバー

datagram_protocol()

Construct a protocol object for a specific address family and protocol.

asio::generic::datagram_protocol::datagram_protocol(int address_family, int socket_protocol)

引数

  • int address_family
  • int socket_protocol

datagram_protocol()

Construct a generic protocol object from a specific protocol.

asio::generic::datagram_protocol::datagram_protocol(const Protocol &source_protocol)

引数

  • constProtocol & source_protocol

type()

Obtain an identifier for the type of the protocol.

int asio::generic::datagram_protocol::type() const

戻り値

int

protocol()

Obtain an identifier for the protocol.

int asio::generic::datagram_protocol::protocol() const

戻り値

int

family()

Obtain an identifier for the protocol family.

int asio::generic::datagram_protocol::family() const

戻り値

int