diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-10-05 00:35:50 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-10-05 00:35:50 -0500 |
| commit | 080f5773cc21c9ccb465a188e8a2e65db5c587ec (patch) | |
| tree | 3c1709811b39c81d44b2dcd7883bd3c4e3e9112b /Server.h | |
| parent | 2c11d6b914d5bb71669862757f250eb3b63d26e6 (diff) | |
made more header files
Diffstat (limited to 'Server.h')
| -rwxr-xr-x | Server.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |
