Skip to content

Sample Applications

Dan Barrett edited this page Feb 24, 2017 · 4 revisions

Sample programs in C and Python can be found in the XIA source tree in the following locations:

  • applications
    • cachetools
      • cacheload loads a content chunk into the cache
      • cachepurge exicts a chunk form the content cache
    • example
      • dag_manipulation
        • dagaddr_example is a simple DAG manipulation
      • echoclient is a multithreaded streaming client for the echo server. Run echoclient -h for options
    • echoclient.py is a simple stream echo client in python
      • echoclient-datagram is the same as echoclient but using datagram sockets
      • echoclient-datagram.py is simple datagram client in python
      • echoclient-simple is interactive echo client that can do stream or datagram connections
      • echoserver is a multi threaded echo server using stream and datagram sockets
      • echoserver.py is a datagram echo server in python
      • speedtest contains multiple benchmarking tools
      • time_of_day_client is a simple time of day client
      • time_of_day_server is a simple time of day server
      • xssl
        • echoclient using encrypted traffic
        • echoserver using encrypted traffic
    • tcp contains some simple python apps for testing the XIA interposition library
    • video-use-case video content provider and XIA proxy that works with the Dash video library
    • xftp contains a simple file transfer utility that works with content chunks
    • xping utility using the XCMP protocol
    • xtraceroute utility using the XCMP protocol
  • tools
    • firehose performance test app that sends data as fast as possible
    • drink is the firehose client
Clone this wiki locally