This package contains simple ping pong demos for SCION.
There is a demo for DatagramSocket
and one for DatagramChannel
.
Both demos have a server and a client.
The demos require a locally running scionproto topology, specifically the "default" topology.
To install the topology:
- Download the scionproto source
- Compile it with
make
, see also the official instructions. - Run
./scion.sh topology -c topology/default.topo
to generate the topology. The resulting files can be found in thegen
folder. - Start the topology with
./scion.sh start
. - Start the server.
- Start the client.
The client should then report sending a message and receiving a message.
The ./scion.sh topology -c topology/default.topo
command generates TRC files
with a limited validity of a few days only. Please re-run the command regularly.