sock: refactore tcp keepalive setting

- Leave default number of keepalive probes rather than hardcoded value
- QNX and OSX use TCP_KEEPALIVE instead of TCP_KEEPIDLE
- QNX doesn't have TCP_KEEPINTVL
This commit is contained in:
Dmitry Podgorny
2016-04-08 17:59:08 +00:00
parent 6c1c2a86f8
commit 5518a9e10a
2 changed files with 14 additions and 9 deletions

View File

@@ -5,6 +5,7 @@
- xmpp_uuid_gen()
- xmpp_conn_get_flags()
- xmpp_conn_set_flags()
- xmpp_conn_set_keepalive()
- xmpp_conn_is_secured()
- xmpp_stanza_del_attribute()
- xmpp_stanza_get_to()