If lOptionName does not contain a permitted value (as documented above) then FREERTOS_ENOPROTOOPT is returned.
If lOptionName does contain a permitted value then 0 is returned. (0 is the standard Berkeley sockets success return value, contrary to the FreeRTOS standard where 0 means fail!)
This example creates a socket, configures the socket's behaviour in accordance with the function's parameters, then returns the created and configured socket.
[ Back to the top ] [ About FreeRTOS ] [ Privacy ] [ FreeRTOS+ Sitemap ] [ Main FreeRTOS Sitemap ] [ ]
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.