IBR-DTNSuite
0.8
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ibrdtn/api/dtn_api.h>
Go to the source code of this file.
Functions | |
void | print_usage (char *me) |
int | main (int argc, char *argv[]) |
Variables | |
DTN_EP | dep = -1 |
int16_t | waitfor = 0 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main entry
Definition at line 26 of file dtnping_sync.c.
References dep, dtn_endpoint_set_option(), dtn_flush, DTN_OPTION_DSTEID, dtn_read(), dtn_register_endpoint(), dtn_write(), print_usage(), and waitfor.
void print_usage | ( | char * | me | ) |
Commandline usage
Definition at line 18 of file dtnping_sync.c.
DTN endpoint descriptor
Definition at line 11 of file dtnping_sync.c.
int16_t waitfor = 0 |
Still wait for some byts
Definition at line 14 of file dtnping_sync.c.