31,6 → 31,8 |
*/ |
|
/** @file |
* Echo application. |
* Answers received packets. |
*/ |
|
#include <malloc.h> |
56,6 → 58,10 |
*/ |
int main( int argc, char * argv[] ); |
|
/** @name Output printing functions |
*/ |
/*@{*/ |
|
/** Prints the application help. |
*/ |
void print_help( void ); |
66,6 → 72,12 |
*/ |
void print_unrecognized( int index, const char * parameter ); |
|
/*@}*/ |
|
/** @name Command line argumets parsing functions |
*/ |
/*@{*/ |
|
/** Parses the next parameter as an integral number. |
* Uses the offseted actual parameter if the offset is set or the next one if not. |
* @param argc The total number of the parameters. Input parameter. |
121,6 → 133,8 |
*/ |
int parse_socket_type( const char * name ); |
|
/*@}*/ |
|
void print_help( void ){ |
printf( |
"Network Echo aplication\n" \ |