![]() |
WINC1500 IoT Software APIs
19.5.2
WINC Software API Reference Manual
|
Functions | |
NMI_API sint8 | accept (SOCKET sock, struct sockaddr *addr, uint8 *addrlen) |
Detailed Description
The function has no current implementation. An empty deceleration is used to prevent errors when legacy application code is used. For recent application use, the accept function can be safer as it has no effect and could be safely removed from any application using it.
Function Documentation
◆ accept()
- Parameters
-
[in] sock Socket ID, must hold a non negative value. A negative value will return a socket error SOCK_ERR_INVALID_ARG. Indicating that an invalid argument is passed in. [in] addr Not used in the current implementation. [in] addrlen Not used in the current implementation.
- Returns
- The function returns ZERO for successful operations and a negative value otherwise. The possible error values are:
- SOCK_ERR_NO_ERROR Indicating that the operation was successful.
- SOCK_ERR_INVALID_ARG Indicating passing invalid arguments such as negative socket ID.
Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by
