dnp3 (C API) 1.6.0
Loading...
Searching...
No Matches
dnp3_outstation_udp_config_t Struct Reference

UDP outstation configuration. More...

#include <dnp3.h>

Data Fields

const char * local_endpoint
 Local endpoint to which the UDP socket is bound. Must be a socket address (ip:port) More...
 
const char * remote_endpoint
 Remote endpoint where outbound requests are sent. Must be a socket address (ip:port) More...
 
dnp3_udp_socket_mode_t socket_mode
 UDP socket mode to use. More...
 
dnp3_link_read_mode_t link_read_mode
 Read mode to use, this should typically be set to DNP3_LINK_READ_MODE_DATAGRAM. More...
 
uint64_t retry_delay
 Period to wait before retrying after a failure to bind or connect the UDP socket. More...
 

Detailed Description

UDP outstation configuration.

Field Documentation

◆ link_read_mode

dnp3_link_read_mode_t dnp3_outstation_udp_config_t::link_read_mode

Read mode to use, this should typically be set to DNP3_LINK_READ_MODE_DATAGRAM.

◆ local_endpoint

const char* dnp3_outstation_udp_config_t::local_endpoint

Local endpoint to which the UDP socket is bound. Must be a socket address (ip:port)

◆ remote_endpoint

const char* dnp3_outstation_udp_config_t::remote_endpoint

Remote endpoint where outbound requests are sent. Must be a socket address (ip:port)

◆ retry_delay

uint64_t dnp3_outstation_udp_config_t::retry_delay

Period to wait before retrying after a failure to bind or connect the UDP socket.

Note
The unit is milliseconds

◆ socket_mode

dnp3_udp_socket_mode_t dnp3_outstation_udp_config_t::socket_mode

UDP socket mode to use.


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