#include "bcast_spocketer.h"#include <basis/byte_array.h>#include <basis/istring.h>#include <loggers/file_logger.h>#include <data_struct/static_memory_gremlin.h>#include <sockets/address.h>#include <stdio.h>#include <string.h>Include dependency graph for t_bcast_spocket.cpp:

Go to the source code of this file.
Defines | |
| #define | LOG(s) program_wide_logger().log(s) |
Typedefs | |
| typedef byte | ip_address_holder [4] |
Functions | |
| bool | parse_address (const istring &input, ip_address_holder &ip_address) |
| int | main (int argc, char *argv[]) |
Variables | |
| const int | INITIAL_DELAY = 10 |
| HOOPLE_STARTUP_CODE | |
| #define LOG | ( | s | ) | program_wide_logger().log(s) |
Definition at line 35 of file t_bcast_spocket.cpp.
| typedef byte ip_address_holder[4] |
Definition at line 37 of file t_bcast_spocket.cpp.
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 86 of file t_bcast_spocket.cpp.
References testing_statistics::bytes_received, testing_statistics::bytes_sent, broadcast_spocket_tester::connect(), INITIAL_DELAY, LOG, parse_address(), broadcast_spocket_tester::perform_test(), testing_statistics::receive_time, testing_statistics::round_trip_time, SECOND_ms, testing_statistics::send_time, SET_DEFAULT_COMBO_LOGGER, portable::sleep_ms(), and testing_statistics::total_runs.
| bool parse_address | ( | const istring & | input, | |
| ip_address_holder & | ip_address | |||
| ) |
Definition at line 40 of file t_bcast_spocket.cpp.
References LOG, and istring::s().
Referenced by main().
Definition at line 33 of file t_bcast_spocket.cpp.
| const int INITIAL_DELAY = 10 |
1.5.1