Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_NETWORK_ADVANCE_CONFIG

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    typedef struct _dd_network_advance_config_
    {
        unsigned int iSize;
        unsigned char bMessagePort;
        unsigned char bAlarmPort;
        unsigned char bMultiCastIP;
        unsigned char bMTUByteNum;
        unsigned short httpPort;
        unsigned short datePort;
        unsigned short messagePort;
        unsigned short alarmPort;
        unsigned short maxOnlineUserNum;
        unsigned short OnlineUserNum;
        unsigned int multiCastIP;
        unsigned int mtuByteNum;
    } DD_NETWORK_ADVANCE_CONFIG;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_NETWORK_ADVANCE_CONFIG
    {
        public UInt32 iSize;
        public byte bMessagePort;
        public byte bAlarmPort;
        public byte bMultiCastIP;
        public byte bMTUByteNum;
        public UInt16 httpPort;
        public UInt16 datePort;
        public UInt16 messagePort;
        public UInt16 alarmPort;
        public UInt16 maxOnlineUserNum;
        public UInt16 OnlineUserNum;
        public UInt32 multiCastIP;
        public UInt32 mtuByteNum;
    }

### Function Description

Network high-level configuration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
bMessagePort | unsigned char | Whether the message port is supported (read-only).
bAlarmPort | unsigned char | Whether to support alarm port (read-only).
bMultiCastIP | unsigned char | Whether to support multicast addresses (read-only).
bMTUByteNum | unsigned char | Whether MTU bytes are supported (read-only).
httpPort | unsigned short | HTTP port.
datePort | unsigned short | Data port.
messagePort | unsigned short | Message command port.
alarmPort | unsigned short | Alarm port.
maxOnlineUserNum | unsigned short | The maximum number of online users supported (read-only).
OnlineUserNum | unsigned short | Number of online users.
multiCastIP | unsigned int | Multicast address.
mtuByteNum | unsigned int | MTU in bytes.

Error Code