Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
getsockopt

Get socket options retrieves This Function isn't implemented yet but this is the form that will be released later.

Functions

NMI_API sint8 getsockopt (SOCKET sock, uint8 u8Level, uint8 u8OptName, const void *pvOptValue, uint8 *pu8OptLen)
 Get socket options retrieves. This Function isn't implemented yet but this is the form that will be released later. More...
 

NMI_API sint8 getsockopt ( SOCKET  sock,
uint8  u8Level,
uint8  u8OptName,
const void *  pvOptValue,
uint8 pu8OptLen 
)

Get socket options retrieves. This Function isn't implemented yet but this is the form that will be released later.

Parameters
[in]sockSocket Identifier.
[in]u8LevelThe protocol level of the option.
[in]u8OptNameThe u8OptName argument specifies a single option to get.
[out]pvOptValueThe pvOptValue argument contains pointer to a buffer containing the option value.
[out]pu8OptLenOption value buffer length.
Returns
The function shall return ZERO for successful operation and a negative value otherwise.

References SOCK_ERR_INVALID_ARG.