Skip to content

Commit 3ee8e30

Browse files
committed
Added NSAPI_KEEPINTVL/NSAPI_KEEPIDLE options to the socket API
1 parent a6edc26 commit 3ee8e30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NetworkStack.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ enum nsapi_level_t {
7373
enum nsapi_option_t {
7474
NSAPI_REUSEADDR, /*!< Allow bind to reuse local addresses */
7575
NSAPI_KEEPALIVE, /*!< Enables sending of keepalive messages */
76+
NSAPI_KEEPIDLE, /*!< Sets timeout value to initiate keepalive */
77+
NSAPI_KEEPINTVL, /*!< Sets timeout value for keepalive */
7678
NSAPI_LINGER, /*!< Keeps close from returning until queues empty */
7779
NSAPI_SNDBUF, /*!< Sets send buffer size */
7880
NSAPI_RCVBUF, /*!< Sets recv buffer size */

0 commit comments

Comments
 (0)