An IP Address class.
More...
#include <IpAddress.h>
|
| | IpAddress (uint8_t firstOctet, uint8_t secondOctet, uint8_t thirdOctet, uint8_t fourthOctet) |
| | Construct an IP Address from four octet values.
|
| |
| | IpAddress (uint32_t ipAddress) |
| | Construct an IP Address from an unsigned integer.
|
| |
| | IpAddress (const char *ipAddress) |
| | Construct an IP Address from a character array.
|
| |
| char * | StringValue () |
| | Returns a string representation of the IP Address.
|
| |
◆ IpAddress() [1/3]
| ClearCore::IpAddress::IpAddress |
( |
uint8_t |
firstOctet, |
|
|
uint8_t |
secondOctet, |
|
|
uint8_t |
thirdOctet, |
|
|
uint8_t |
fourthOctet |
|
) |
| |
|
inline |
Construct an IP Address from four octet values.
An IP Address class.
Definition IpAddress.h:41
◆ IpAddress() [2/3]
| ClearCore::IpAddress::IpAddress |
( |
uint32_t |
ipAddress | ) |
|
|
inline |
Construct an IP Address from an unsigned integer.
◆ IpAddress() [3/3]
| ClearCore::IpAddress::IpAddress |
( |
const char * |
ipAddress | ) |
|
|
inlineexplicit |
Construct an IP Address from a character array.
◆ StringValue()
| char * ClearCore::IpAddress::StringValue |
( |
| ) |
|
|
inline |
Returns a string representation of the IP Address.
bool Send(const char *buffer, size_t bufferSize)
Send the array of characters out the port.
Definition ISerial.h:173
SerialDriver ConnectorCOM0
COM-0 connector instance.
- Returns
- Returns a string representation of the IP Address.
- Examples
- ClearCoreCommandProtocolEthernetTCP.cpp, EthernetExamples/ClearCoreCommandProtocolEthernetTCP/ClearCoreCommandProtocolEthernetTCP.cpp, EthernetExamples/EthernetTcpClientHelloWorld/EthernetTcpClientHelloWorld.cpp, EthernetExamples/EthernetTcpServerHelloWorld_automatic/EthernetTcpServerHelloWorld_automatic.cpp, EthernetExamples/EthernetTcpServerHelloWorld_manual/EthernetTcpServerHelloWorld_manual.cpp, EthernetExamples/EthernetUdpHelloWorld/EthernetUdpHelloWorld.cpp, EthernetTcpClientHelloWorld.cpp, EthernetTcpServerHelloWorld_automatic.cpp, EthernetTcpServerHelloWorld_manual.cpp, and EthernetUdpHelloWorld.cpp.
The documentation for this class was generated from the following file: