- make reconnectInterval changeable (0: no automatic reconnection)

This commit is contained in:
zolliker
2013-06-25 11:21:04 +00:00
parent 8ecedfe443
commit 9a3607bd66
5 changed files with 76 additions and 10 deletions

View File

@ -117,4 +117,12 @@ char *AsconHostport(Ascon *a);
*/
double AsconGetSetTimeout(Ascon *a, double timeout, int setmode);
/**
* \brief set reconnectInterval
* \param a the Ascon
* \param interval the interval to set (0: no reconnect, -1: read value)
* \return the value
*/
int AsconReconnectInterval(Ascon *a, int interval);
#endif