TCP keepalive setting support

This commit is contained in:
Andrey (Stanson) Kozin
2016-02-08 08:28:41 +03:00
committed by Dmitry Podgorny
parent cb79f5c10b
commit 6c1c2a86f8
4 changed files with 60 additions and 0 deletions

View File

@@ -222,6 +222,7 @@ void xmpp_conn_set_pass(xmpp_conn_t * const conn, const char * const pass);
xmpp_ctx_t* xmpp_conn_get_context(xmpp_conn_t * const conn);
void xmpp_conn_disable_tls(xmpp_conn_t * const conn);
int xmpp_conn_is_secured(xmpp_conn_t * const conn);
void xmpp_conn_set_keepalive(xmpp_conn_t * const conn, int timeout, int interval);
int xmpp_connect_client(xmpp_conn_t * const conn,
const char * const altdomain,