32c9271a
skhinach
modif
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef __LIBNET_H__
#define __LIBNET_H__
int boucleServeur(int socket, void(* fctConnex)(int));
int lanceThread(void(* fonction) (void *), void* arg, int size);
void* reponseConnexion(void* sock);
int initialisationServeur(char* service);
int initializeSocketUDP(char* service);
int sendUDPBroadcast(char* message, int port);
int sendUDPUnicast(char* address, char* message, int port);
#endif
|