linger flag seems to work now
This commit is contained in:
@ -49,21 +49,22 @@ typedef struct s_host_list
|
||||
|
||||
typedef struct s_settings
|
||||
{
|
||||
t_host_list *hosts;
|
||||
int count; // -c (--count)
|
||||
int timeout; // -w (--timeout)
|
||||
double interval; //-i (--interval)
|
||||
int linger; //-W (--linger)
|
||||
int ttl; // --ttl
|
||||
short setTtl; // is ttl set
|
||||
t_host_list *hosts;
|
||||
int count; // -c (--count)
|
||||
int timeout; // -w (--timeout)
|
||||
double interval; //-i (--interval)
|
||||
int linger; //-W (--linger)
|
||||
int ttl; // --ttl
|
||||
short setTtl; // is ttl set
|
||||
|
||||
int socket;
|
||||
uint16_t id;
|
||||
short stop;
|
||||
short err;
|
||||
char *name;
|
||||
int socket;
|
||||
uint16_t id;
|
||||
short stop;
|
||||
short err;
|
||||
char *name;
|
||||
struct timeval last_send_time;
|
||||
|
||||
char current_ip[INET_ADDRSTRLEN];
|
||||
char current_ip[INET_ADDRSTRLEN];
|
||||
} t_settings;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user