Native representation of an IP Address.
More...
#include <SocketDescriptor.h>
|
struct | SocketServer |
|
struct | SocketClient |
|
Native representation of an IP Address.
Example:
#define SC_TEST_EXPECT(e)
Records a test expectation (eventually aborting or breaking o n failed test)
Definition: Testing.h:113
SocketIPAddress(SocketFlags::AddressFamily addressFamily=SocketFlags::AddressFamilyIPV4)
Constructs an ip address from a given family (IPV4 or IPV6)
Definition: SocketDescriptor.h:123
◆ SocketIPAddress()
Constructs an ip address from a given family (IPV4 or IPV6)
- Parameters
-
addressFamily | The address family |
◆ fromAddressPort()
Builds this SocketIPAddress parsing given address string and port.
- Parameters
-
interfaceAddress | A valid IPV4 or IPV6 address expressed as a string |
port | The port to connect to |
- Returns
- A valid Result if the address has been parsed successfully
◆ getAddressFamily()
Get Address family of this ip address (IPV4 or IPV6)
- Returns
- The Ip Address Family of the given Socket
The documentation for this struct was generated from the following file: