File: README

package info (click to toggle)
ace 6.0.3%2Bdfsg-0.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 49,368 kB
  • sloc: cpp: 341,826; perl: 30,850; ansic: 20,952; makefile: 10,144; sh: 4,744; python: 828; exp: 787; yacc: 511; xml: 330; lex: 158; lisp: 116; csh: 48; tcl: 5
file content (18 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
In this example SENDER sends a number (defined in Protocol.h, 10000
by default) of messages  to the multicast group. Each message has
an application-level sequence number. RECEIVER tries to receive them
and checks for damaged, lost, and reordered messages. Since reliable
multicast is used there should be no damaged or reordered messages.
There could be some number of lost messages at the beginning,
howevere (standard race condition).

To run the example start a one or more RECEIVERS, e.g.,

$ ./receiver 224.1.0.1:10000

Then start one SENDER:

$ ./sender 224.1.0.1:10000

--
Boris Kolpackov <boris@kolpackov.net>