aboutsummaryrefslogtreecommitdiff
path: root/Server.h
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-10-05 00:35:50 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-10-05 00:35:50 -0500
commit080f5773cc21c9ccb465a188e8a2e65db5c587ec (patch)
tree3c1709811b39c81d44b2dcd7883bd3c4e3e9112b /Server.h
parent2c11d6b914d5bb71669862757f250eb3b63d26e6 (diff)
made more header files
Diffstat (limited to 'Server.h')
-rwxr-xr-xServer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Server.h b/Server.h
index 2192e2b..0a55543 100755
--- a/Server.h
+++ b/Server.h
@@ -38,6 +38,11 @@ struct Server{
void (*on_disconnect)(struct Server *server, int socketFD);
};
+/*
+ * AF_INET, SOCK_STREAM, 0, INADDR_ANY, port, 10, launch_socket
+ * or
+ * AF_INET, SOCK_STREAM, 0, INADDR_ANY, port, 10, launch
+ */
struct Server server_constructor(int domain, int service, int protocol, u_long interface, int port, int backlog, pthread_t (*launch)(struct Server *server));
#endif /* Server_h */