2020-11-11 19:52:21 +01:00
|
|
|
#ifndef _IPADDRESS_H_
|
|
|
|
#define _IPADDRESS_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
class IPAddress {
|
|
|
|
private:
|
|
|
|
uint8_t _address[4];
|
|
|
|
uint8_t *raw_address() { return _address; };
|
|
|
|
public:
|
|
|
|
IPAddress(uint8_t o1, uint8_t o2, uint8_t o3, uint8_t o4);
|
2020-11-11 20:03:44 +01:00
|
|
|
IPAddress();
|
2020-11-12 12:29:42 +01:00
|
|
|
|
|
|
|
friend class Client;
|
2020-11-11 19:52:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _IPADDRESS_H_
|