NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 66:c84a4c76cb94
- Parent:
- 63:531f4c27f360
- Child:
- 68:a52251517491
--- a/NetworkInterface.h Fri Apr 01 16:29:45 2016 +0000 +++ b/NetworkInterface.h Fri Apr 01 17:18:27 2016 +0000 @@ -30,6 +30,7 @@ * @brief enum of standardized error codes */ enum ns_error_t { + NS_ERROR_WOULD_BLOCK = -3000, /*!< no data is not available but call is non-blocking */ NS_ERROR_TIMEOUT = -3001, /*!< operation took longer than allowed */ NS_ERROR_NO_CONNECTION = -3002, /*!< not connected to a network */ NS_ERROR_NO_SOCKET = -3003, /*!< socket not available for use */