projet-multitaches/src/server.h

13 lines
221 B
C
Raw Normal View History

2022-09-13 21:40:23 +02:00
#ifndef SERVER_H
#define SERVER_H
#define LISTEN_ALL // define to listen on 0.0.0.0, else loopback
2022-10-19 22:35:06 +02:00
/* Handles a client after its connection */
2022-09-13 21:40:23 +02:00
void service(int);
2022-10-19 22:35:06 +02:00
/* Handler for signal() */
2022-09-13 21:40:23 +02:00
void interrupt(int);
#endif