1
0

datagram.inc 512 B

123456789101112131415161718
  1. /* Datagram sending/receiving
  2. *
  3. * (c) Copyright 2005, ITB CompuPhase
  4. * This file is provided as is (no warranties).
  5. */
  6. #if defined _datagram_included
  7. #endinput
  8. #endif
  9. #define _datagram_included
  10. #pragma library DGram
  11. native sendstring(const message[], const destination[]="");
  12. native sendpacket(const packet[], size, const destination[]="");
  13. native listenport(port);
  14. forward @receivestring(const message[], const source[]);
  15. forward @receivepacket(const packet[], size, const source[]);