Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
asio::ip::udp Class Reference

Encapsulates the flags needed for UDP. More...

#include <udp.hpp>

Public Types

typedef basic_endpoint< udpendpoint
 The type of a UDP endpoint. More...
 
typedef basic_datagram_socket< udpsocket
 The UDP socket type. More...
 
typedef basic_resolver< udpresolver
 The UDP resolver type. More...
 

Public Member Functions

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

Static Public Member Functions

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

Friends

bool operator== (const udp &p1, const udp &p2)
 Compare two protocols for equality. More...
 
bool operator!= (const udp &p1, const udp &p2)
 Compare two protocols for inequality. More...
 

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, InternetProtocol.

Definition at line 42 of file udp.hpp.

Member Typedef Documentation

The type of a UDP endpoint.

Definition at line 46 of file udp.hpp.

The UDP resolver type.

Definition at line 82 of file udp.hpp.

The UDP socket type.

Definition at line 79 of file udp.hpp.

Member Function Documentation

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

Obtain an identifier for the protocol family.

Definition at line 73 of file udp.hpp.

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

Obtain an identifier for the protocol.

Definition at line 67 of file udp.hpp.

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

Obtain an identifier for the type of the protocol.

Definition at line 61 of file udp.hpp.

static udp asio::ip::udp::v4 ( )
inlinestatic

Construct to represent the IPv4 UDP protocol.

Definition at line 49 of file udp.hpp.

static udp asio::ip::udp::v6 ( )
inlinestatic

Construct to represent the IPv6 UDP protocol.

Definition at line 55 of file udp.hpp.

Friends And Related Function Documentation

bool operator!= ( const udp p1,
const udp p2 
)
friend

Compare two protocols for inequality.

Definition at line 91 of file udp.hpp.

bool operator== ( const udp p1,
const udp p2 
)
friend

Compare two protocols for equality.

Definition at line 85 of file udp.hpp.


The documentation for this class was generated from the following file: