Namespace: Rx – Class: CRxIPv4Subnetmask – Header: Rx.Core/RxIPv4Subnetmask.h
CRxIPv4Subnetmask::Set Method
C++
void Set(unsigned char ucSub1, unsigned char ucSub2, unsigned char ucSub3, unsigned char ucSub4)
Like the constructor with the same arguments: Constructor with single unsigned char values as arguments for initialization of the subnet mask. Example for 255.255.0.0 would be:
- ucSub1 = 255;
- ucSub2 = 255;
- ucSub3 = 0;
- ucSub4 = 0;
Parameters
[unsigned char] ucSub1 |
The first part of the subnet mask. |
[unsigned char] ucSub2 |
The second part of the subnetmask. |
[unsigned char] ucSub3 |
The third part of the subnet mask. |
[unsigned char] ucSub4 |
The fourth part of the subnet mask. |