diff options
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 */ |
