Switch from sketchy dup() juggling to callbacks to retry outgoing connection.

This commit is contained in:
Ian Gulliver
2016-02-24 20:15:09 -08:00
parent 63f5313b96
commit 1635534243
14 changed files with 83 additions and 68 deletions

View File

@@ -4,6 +4,8 @@
#define PARSER_STATE_LEN 256
struct peer;
void receive_cleanup();
void receive_new(int, void *);
void receive_new(int, void *, struct peer *);
void receive_print_usage();