CRxIPv4::Set Method
C++
void Set(unsigned char ucIP1, unsigned char ucIP2, unsigned char ucIP3, unsigned char ucIP4)
Sets the IP with single unsigned char values. Example for 10.0.0.1 would be:
- ucIP1 = 10;
- ucIP2 = 0;
- ucIP3 = 0;
- ucIP4 = 1;
Parameters
[unsigned char] ucIP1 |
The first part of the IP. |
[unsigned char] ucIP2 |
The second part of the IP. |
[unsigned char] ucIP3 |
The third part of the IP. |
[unsigned char] ucIP4 |
The fourth part of the IP. |