- added new scriptcontext with devser
This commit is contained in:
4
ascon.i
4
ascon.i
@ -62,7 +62,7 @@ struct Ascon {
|
||||
pDynString rdBuffer;/**< read buffer */
|
||||
pDynString wrBuffer;/**< write buffer */
|
||||
int wrPos; /**< write buffer position */
|
||||
float timeout; /**< read timeout (sec) */
|
||||
double timeout; /**< read timeout (sec) */
|
||||
char *hostport; /**< host:port to connect */
|
||||
ErrMsgList errList; /**< error message list */
|
||||
double start; /**< unix time when read was started */
|
||||
@ -70,6 +70,8 @@ struct Ascon {
|
||||
int noResponse; /**< no response expected */
|
||||
int responseValid; /**< a valid response is ready */
|
||||
AsconHandler handler; /**< handler function */
|
||||
double reconnectInterval; /**< reconnect interval */
|
||||
double lastReconnect; /**< last connect try */
|
||||
};
|
||||
|
||||
#define ASCON_SELECT_ERROR -1
|
||||
|
Reference in New Issue
Block a user