IoTivity-Lite
oc_connectivity_listening_ports_s Struct Reference

The structure includes flags that can be used to disable listening on certain IP interfaces. More...

#include <oc_api.h>

Data Fields

oc_connectivity_listening_port_flags_t flags
 Flags for the listening ports. More...
 
uint16_t port
 The IPv6 port for unsecure connections. More...
 
uint16_t secure_port
 The IPv6 port for secure connections. More...
 

Detailed Description

The structure includes flags that can be used to disable listening on certain IP interfaces.

If a port is set to 0, the system will determine which port to open by default. On the other hand, if a port is specified, the stack will open that particular port.

Field Documentation

◆ flags

oc_connectivity_listening_port_flags_t flags

Flags for the listening ports.

◆ port

uint16_t port

The IPv6 port for unsecure connections.

◆ secure_port

uint16_t secure_port

The IPv6 port for secure connections.


The documentation for this struct was generated from the following file: