diff options
author | Tony Josi <tonyjosi@amazon.com> | 2023-05-12 10:39:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 16:09:24 +0530 |
commit | cc463b15ed0766aef8ba3c3ef6084cc6e835e61a (patch) | |
tree | 0e28e390b630d40df5fd2248b39e66ef9c370f5e /FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c | |
parent | c6ebab30feb8d382938348abdfaf577df2ded06b (diff) | |
download | freertos-git-devIPv6.tar.gz |
TCP demo changes post build separation (#1011)devIPv6
* adding sin_family to dest adddr for FreeRTOS_sendto
* updating FreeRTOS_bind to input sin_family post build separation changes
* updating FreeRTOS_connect to input sin_family post build separation changes
* minor fix
* updating copyright year
* updating file headers
* updating +TCP submodule
* updating file headers
* updating file headers
* updating manifest file to have latest +TCP submodule hash
Diffstat (limited to 'FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c')
-rw-r--r-- | FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c b/FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c index addeee382..1794ab87f 100644 --- a/FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c +++ b/FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Serializer/DemoTasks/SerializerMQTTExample.c @@ -615,6 +615,8 @@ static Socket_t prvCreateTCPConnectionToBroker( void ) } #endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */ + xBrokerAddress.sin_family = FREERTOS_AF_INET; + if( FreeRTOS_connect( xMQTTSocket, &xBrokerAddress, sizeof( xBrokerAddress ) ) == 0 ) { /* Connection was successful. */ |