Namespace: Rx – Class: CRxIPv4Subnetmask – Header: Rx.Core/RxIPv4Subnetmask.h

CRxIPv4Subnetmask::CRxIPv4Subnetmask Constructor

C++
CRxIPv4Subnetmask(unsigned char ucSub1, unsigned char ucSub2, unsigned char ucSub3, unsigned char ucSub4)

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 subnet mask.

[unsigned char] ucSub3

The third part of the subnet mask.

[unsigned char] ucSub4

The fourth part of the subnet mask.