- make reconnectInterval changeable (0: no automatic reconnection)
This commit is contained in:
8
ascon.h
8
ascon.h
@ -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
|
||||
|
Reference in New Issue
Block a user