#include <spNetworkAddress.hpp>
List of all members.
Detailed Description
Network address holding the IP address (referencing to a computer) and the port number (referencing to a service).
Constructor & Destructor Documentation
sp::network::NetworkAddress::NetworkAddress |
( |
const sockaddr_in & |
SocketAddress |
) |
|
sp::network::NetworkAddress::NetworkAddress |
( |
u16 |
Port |
) |
|
sp::network::NetworkAddress::NetworkAddress |
( |
u16 |
Port, |
|
|
u32 |
IPAddress | |
|
) |
| | |
sp::network::NetworkAddress::NetworkAddress |
( |
u16 |
Port, |
|
|
const io::stringc & |
IPAddress | |
|
) |
| | |
sp::network::NetworkAddress::NetworkAddress |
( |
const NetworkAddress & |
Address |
) |
|
sp::network::NetworkAddress::~NetworkAddress |
( |
|
) |
|
Member Function Documentation
static u64 sp::network::NetworkAddress::convert |
( |
const sockaddr_in & |
Addr |
) |
[static] |
Returns the IP address as 64 bit integer.
Returns the network address class.
io::stringc sp::network::NetworkAddress::getDescription |
( |
|
) |
const |
Returns the address descriptions (e.g. "127.0.0.1 : 8000");.
u32 sp::network::NetworkAddress::getIPAddress |
( |
|
) |
const [inline] |
Returns the IP address value.
io::stringc sp::network::NetworkAddress::getIPAddressName |
( |
|
) |
const |
Returns the IP address name (e.g. "127.0.0.1").
u16 sp::network::NetworkAddress::getPort |
( |
|
) |
const |
Returns the network port.
const sockaddr_in& sp::network::NetworkAddress::getSocketAddress |
( |
|
) |
const [inline] |
sockaddr_in& sp::network::NetworkAddress::getSocketAddress |
( |
|
) |
[inline] |
static NetworkAddress sp::network::NetworkAddress::read |
( |
const c8 * |
Buffer |
) |
[static] |
Reads a network address from the given buffe. This buffer must have at least a size of 6 bytes.
bool sp::network::NetworkAddress::valid |
( |
|
) |
const |
Returns true if this is a valid network address.
static void sp::network::NetworkAddress::write |
( |
c8 * |
Buffer, |
|
|
const NetworkAddress & |
Address | |
|
) |
| | [static] |
Writes the given network address to the given buffe. This buffer must have at least a size of 6 bytes.
Member Data Documentation
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/Framework/Network/spNetworkAddress.hpp