![]()  | 
Home | Libraries | People | FAQ | More | 
Implements IP version 4 style addresses.
class address_v4
| 
                 Name  | 
                 Description  | 
|---|---|
| 
                 The type used to represent an address as an array of bytes.  | 
| 
                 Name  | 
                 Description  | 
|---|---|
| 
                 Default constructor. Construct an address from raw bytes. Construct an address from a unsigned long in host byte order. Copy constructor.  | 
|
| 
                 Obtain an address object that represents any address.  | 
|
| 
                 Obtain an address object that represents the broadcast address. Obtain an address object that represents the broadcast address that corresponds to the specified address and netmask.  | 
|
| 
                 Create an address from an IP address string in dotted decimal form.  | 
|
| 
                 Determine whether the address is a class A address.  | 
|
| 
                 Determine whether the address is a class B address.  | 
|
| 
                 Determine whether the address is a class C address.  | 
|
| 
                 Determine whether the address is a loopback address.  | 
|
| 
                 Determine whether the address is a multicast address.  | 
|
| 
                 Determine whether the address is unspecified.  | 
|
| 
                 Obtain an address object that represents the loopback address.  | 
|
| 
                 Obtain the netmask that corresponds to the address, based on its address class.  | 
|
| 
                 Assign from another address.  | 
|
| 
                 Get the address in bytes, in network byte order.  | 
|
| 
                 Get the address as a string in dotted decimal format.  | 
|
| 
                 Get the address as an unsigned long in host byte order.  | 
| 
                 Name  | 
                 Description  | 
|---|---|
| 
                 Compare two addresses for inequality.  | 
|
| 
                 Compare addresses for ordering.  | 
|
| 
                 Compare addresses for ordering.  | 
|
| 
                 Compare two addresses for equality.  | 
|
| 
                 Compare addresses for ordering.  | 
|
| 
                 Compare addresses for ordering.  | 
| 
                 Name  | 
                 Description  | 
|---|---|
| 
                 Output an address as a string.  | 
        The ip::address_v4
        class provides the ability to use and manipulate IP version 4 addresses.
      
Distinct objects: Safe.
Shared objects: Unsafe.
        Header: boost/asio/ip/address_v4.hpp
      
        Convenience header: boost/asio.hpp