Blame view

libnet.h 653 Bytes
8d4694b6   achemin1   feat: server list...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  /** fichier libnet.h **/
  
  /******************************************************************/
  /** Ce fichier decrit les structures et les constantes utilisees **/
  /** par les fonctions reseau.                                    **/
  /******************************************************************/
  
  /**** Constantes ****/
  
  /** Nombre maximum de connexions tamponnees pour le serveur **/
  
  #define MAX_CONNEXIONS	32
  
  /**** Fonctions ****/
  
  int connexionServeur(char *hote,char *service);
  int initialisationServeur(char *service,int connexions);
  int read_fixed(int descripteur,unsigned char *array,int size);
  int creationInterfaceVirtuelle(char *nom);