Multiple port support

This commit is contained in:
Nate Choe
2022-06-21 23:34:13 -05:00
parent dc044b22e3
commit 47cf044858
19 changed files with 333 additions and 136 deletions

View File

@@ -66,6 +66,10 @@ error:
return NULL;
}
int listenerfd(Listener *listener) {
return listener->fd;
}
Context *createContext(SocketType type, ...) {
Context *ret;
va_list ap;