Namespace: Rx – Class: CRxIPv4 – Header: Rx.Core/RxIPv4.h

CRxIPv4::CRxIPv4 Constructor

C++
CRxIPv4(unsigned char ucIP1, unsigned char ucIP2, unsigned char ucIP3, unsigned char ucIP4)

Constructor with single unsigned char values as arguments for initialization of the IP. 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.