Comment servir des pintes de Guinness "over Internet" ;) Reprise/Fork d'un très ancien code d'un pilier de f.m.b.l : http://tnemeth.free.fr/projets/guinness-server.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

broadcast.h 490B

12345678910111213141516171819202122232425
  1. /*
  2. * guinnessd
  3. * architecture clients/serveur guinness : broadcast messages
  4. * Thomas Nemeth -- le 15 juin 2001
  5. *
  6. */
  7. #ifndef GUINNNESS_BROADCAST
  8. #define GUINNNESS_BROADCAST
  9. #include "guinnessd.h"
  10. #define QUITTER 1
  11. #define TOURNEE 2
  12. #define MESSAGE 3
  13. int broadcast (int t, const char *f, const char *m);
  14. int new_message (long cid);
  15. int get_broadcastid ();
  16. void get_broadcastmsg (int *t, char **f, char **m);
  17. int send_broadcast (int socket_service, userinfos *infos);
  18. #endif