TCP keepalive setting support
This commit is contained in:
committed by
Dmitry Podgorny
parent
cb79f5c10b
commit
6c1c2a86f8
@@ -40,5 +40,6 @@ int sock_write(const sock_t sock, const void * const buff, const size_t len);
|
||||
int sock_is_recoverable(const int error);
|
||||
/* checks for an error after connect, return 0 if connect successful */
|
||||
int sock_connect_error(const sock_t sock);
|
||||
int sock_set_keepalive(const sock_t sock, int timeout, int interval);
|
||||
|
||||
#endif /* __LIBSTROPHE_SOCK_H__ */
|
||||
|
||||
Reference in New Issue
Block a user