zos_tcp_config_t Struct Reference

TCP client configuration. More...

Data Fields

const char * host
 Client hostname or IPv4 address.
 
uint16_t remote_port
 Client remote port.
 
uint16_t local_port
 Local socket port.
 
zos_tls_certificates_t certs
 TLS certificates for secure connections, see zos_tls_certificates_t.
 
zos_bool_t use_tls
 If ZOS_TRUE then use secure TLS connection, normal TCP connection otherwise.
 
zos_interface_t interface
 Interface to open connection, see zos_interface_t.
 
zos_gpio_t gpio
 GPIO to assert when connection has data to be read, option, set as ZOS_GPIO_INVALID if unused.
 

Detailed Description

TCP client configuration.