![]() |
The IPAddress
class defines an Internet Protocol address. Currently only supports IPv4, but could be extended to support IPv6
Public Functions | |
ByteArray | AddressBytes () const |
Net::AddressFamily::Enum | AddressFamily () const |
HashCode | GetHashCode () const |
bool | operator!= (IPAddress const &other) const |
bool | operator== (IPAddress const &other) const |
String | ToString () const |
Constructors and Destructors | |
IPAddress () | |
IPAddress (Int64 address) | |
IPAddress (ByteArray address) | |
~IPAddress () | |
Public Static Functions | |
static IPAddress | Any () |
static IPAddress | Broadcast () |
static Int16 | HostToNetworkOrder (Int16 host) |
static Int32 | HostToNetworkOrder (Int32 host) |
static Int64 | HostToNetworkOrder (Int64 host) |
static bool | IsLoopback (IPAddress address) |
static IPAddress | Loopback () |
static Int16 | NetworkToHostOrder (Int16 network) |
static Int32 | NetworkToHostOrder (Int32 network) |
static Int64 | NetworkToHostOrder (Int64 network) |
static IPAddress | None () |
static bool | TryParse (String const &ipString, IPAddress &address) |
ByteArray AddressBytes | ( | ) | const |
Net::AddressFamily::Enum AddressFamily | ( | ) | const |
|
static |
Provides an IP address that indicates that any network interface can be used.
|
static |
Provides the IP broadcast address.
HashCode GetHashCode | ( | ) | const |
Places the IPAddress into a hash table.
|
inlinestatic |
Converts an Int16 value from host byte order to network byte order.
|
inlinestatic |
Converts an Int32 value from host byte order to network byte order.
|
inlinestatic |
Converts an Int64 value from host byte order to network byte order.
|
static |
Indicates whether the specified IP address is the loopback address.
|
static |
Provides the IP loopback address.
|
inlinestatic |
Converts an Int16 value from network byte order to host byte order.
|
inlinestatic |
Converts an Int32 value from network byte order to host byte order.
|
inlinestatic |
Converts an Int64 value from network byte order to host byte order.
|
static |
Provides an IP address that indicates that no network interface should be used.
bool operator!= | ( | IPAddress const & | other | ) | const |
Checks if the current instance is equal to the specified other instance. Returns true if they are equal, otherwise returns false.
bool operator== | ( | IPAddress const & | other | ) | const |
Checks if the current instance is equal to the specified other instance. Returns true if they are equal, otherwise returns false.
String ToString | ( | ) | const |
Converts an Internet address to a string.
© 2010 - 2018 Calgary Scientific Inc. All rights reserved. This documentation shall not wholly or in part, in any form or by any means, electronic, mechanical, including photocopying, be reproduced or transmitted without the authorized, written consent of Calgary Scientific.
Generated on Thu Jan 11 2018 03:59:07 for PureWeb C++ API by
1.8.11