Use only one socket

This commit is contained in:
angt
2016-02-25 15:13:43 +00:00
parent 4bb6756a11
commit bfa92d373d
2 changed files with 335 additions and 177 deletions

4
mud.h
View File

@@ -7,7 +7,9 @@ struct mud;
struct mud *mud_create (const unsigned char *, size_t);
void mud_delete (struct mud *);
int mud_bind (struct mud *, const char *, const char *);
int mud_get_fd (struct mud *);
int mud_bind (struct mud *, const char *);
int mud_peer (struct mud *, const char *, const char *);
int mud_pull (struct mud *);