IBR-DTNSuite
0.12
|
#include "config.h"
#include "streaming/BundleStream.h"
#include <ibrdtn/api/Client.h>
#include <ibrdtn/data/EID.h>
#include <ibrcommon/net/socket.h>
#include <ibrcommon/data/File.h>
#include <iostream>
#include <unistd.h>
Go to the source code of this file.
Functions | |
void | print_help () |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 62 of file dtnstream.cpp.
References BundleStream::base(), ibrcommon::socketstream::close(), dtn::api::Client::close(), dtn::api::Client::connect(), dtn::data::PrimaryBlock::destination, dtn::data::PrimaryBlock::DESTINATION_IS_SINGLETON, dtn::data::PrimaryBlock::DTNSEC_REQUEST_ENCRYPT, dtn::data::PrimaryBlock::DTNSEC_REQUEST_SIGN, ibrcommon::File::exists(), dtn::data::PrimaryBlock::lifetime, print_help(), BundleStream::rdbuf(), dtn::data::PrimaryBlock::set(), BundleStream::setAutoFlush(), dtn::data::PrimaryBlock::setPriority(), and BundleStream::setReceiveTimeout().
void print_help | ( | ) |
Definition at line 34 of file dtnstream.cpp.