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/Test | |
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/Test')
-rw-r--r-- | FreeRTOS-Plus/Test/FreeRTOS-Plus-TCP/Integration/Full-TCP-Suite/Test_Code/Test_Cases/test_tcp.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/FreeRTOS-Plus/Test/FreeRTOS-Plus-TCP/Integration/Full-TCP-Suite/Test_Code/Test_Cases/test_tcp.c b/FreeRTOS-Plus/Test/FreeRTOS-Plus-TCP/Integration/Full-TCP-Suite/Test_Code/Test_Cases/test_tcp.c index f6889888f..228935410 100644 --- a/FreeRTOS-Plus/Test/FreeRTOS-Plus-TCP/Integration/Full-TCP-Suite/Test_Code/Test_Cases/test_tcp.c +++ b/FreeRTOS-Plus/Test/FreeRTOS-Plus-TCP/Integration/Full-TCP-Suite/Test_Code/Test_Cases/test_tcp.c @@ -1,5 +1,5 @@ /* - * FreeRTOS Secure Sockets V1.1.9 + * FreeRTOS V202212.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -19,8 +19,9 @@ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * - * https://aws.amazon.com/freertos * https://www.FreeRTOS.org + * https://github.com/FreeRTOS + * */ /* Standard includes. */ @@ -1838,6 +1839,8 @@ static void prvFreeRTOS_connect_InvalidParams( void ) xEchoServerAddress.sin_addr = ulEchoServerIP; } #endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */ + + xEchoServerAddress.sin_family = FREERTOS_AF_INET; /* Invalid socket. */ @@ -1865,6 +1868,8 @@ static void prvFreeRTOS_connect_InvalidParams( void ) xEchoServerAddress.sin_addr = FreeRTOS_inet_addr_quick( 0, 0, 0, 0 ); } #endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */ + + xEchoServerAddress.sin_family = FREERTOS_AF_INET; xResult = FreeRTOS_connect( xSocket, &xEchoServerAddress, @@ -1892,6 +1897,8 @@ static void prvFreeRTOS_connect_InvalidParams( void ) xEchoServerAddress.sin_addr = ulEchoServerIP; } #endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */ + + xEchoServerAddress.sin_family = FREERTOS_AF_INET; xResult = FreeRTOS_connect( xSocket, &xEchoServerAddress, |