asio 0.3.7 Home | Reference | Tutorial | Examples | Design
Reference Class Hierarchy | Class Index | Member Index

asio::ip::udp Class Reference

List of all members.

Detailed Description

Encapsulates the flags needed for UDP.

The asio::ip::udp class contains flags necessary for UDP sockets.

Thread Safety:
Distinct objects: Safe.
Shared objects: Safe.
Concepts:
Protocol.


Public Types

typedef basic_endpoint< udpendpoint
 The type of a UDP endpoint.
typedef basic_resolver_query<
udp
resolver_query
 The type of a resolver query.
typedef basic_resolver_iterator<
udp
resolver_iterator
 The type of a resolver iterator.
typedef basic_datagram_socket<
udp
socket
 The IPv4 UDP socket type.
typedef basic_resolver< udpresolver
 The UDP resolver type.

Public Member Functions

int type () const
 Obtain an identifier for the type of the protocol.
int protocol () const
 Obtain an identifier for the protocol.
int family () const
 Obtain an identifier for the protocol family.

Static Public Member Functions

static udp v4 ()
 Construct to represent the IPv4 UDP protocol.
static udp v6 ()
 Construct to represent the IPv4 UDP protocol.


Member Typedef Documentation

typedef basic_endpoint<udp> asio::ip::udp::endpoint

The type of a UDP endpoint.

typedef basic_resolver_query<udp> asio::ip::udp::resolver_query

The type of a resolver query.

typedef basic_resolver_iterator<udp> asio::ip::udp::resolver_iterator

The type of a resolver iterator.

typedef basic_datagram_socket<udp> asio::ip::udp::socket

The IPv4 UDP socket type.

typedef basic_resolver<udp> asio::ip::udp::resolver

The UDP resolver type.


Member Function Documentation

static udp asio::ip::udp::v4 (  )  [static]

Construct to represent the IPv4 UDP protocol.

static udp asio::ip::udp::v6 (  )  [static]

Construct to represent the IPv4 UDP protocol.

int asio::ip::udp::type (  )  const

Obtain an identifier for the type of the protocol.

int asio::ip::udp::protocol (  )  const

Obtain an identifier for the protocol.

int asio::ip::udp::family (  )  const

Obtain an identifier for the protocol family.

asio 0.3.7 Home | Reference | Tutorial | Examples | Design