Add functions to set timeouts and time_tolerance
This commit is contained in:
5
mud.h
5
mud.h
@@ -10,6 +10,11 @@ void mud_delete (struct mud *);
|
||||
int mud_set_key (struct mud *, unsigned char *, size_t);
|
||||
int mud_get_fd (struct mud *);
|
||||
|
||||
void mud_set_down_timeout_msec (struct mud *, unsigned);
|
||||
void mud_set_send_timeout_msec (struct mud *, unsigned);
|
||||
void mud_set_pong_timeout_msec (struct mud *, unsigned);
|
||||
void mud_set_time_tolerance_sec (struct mud *, unsigned);
|
||||
|
||||
int mud_bind (struct mud *, const char *);
|
||||
int mud_peer (struct mud *, const char *, const char *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user