t_ucast_spocket.cpp File Reference

#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_ucast_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 Documentation

#define LOG (  )     program_wide_logger().log(s)

Definition at line 35 of file t_ucast_spocket.cpp.


Typedef Documentation

typedef byte ip_address_holder[4]

Definition at line 37 of file t_ucast_spocket.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 86 of file t_ucast_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_ucast_spocket.cpp.

References LOG, and istring::s().


Variable Documentation

HOOPLE_STARTUP_CODE

Definition at line 33 of file t_ucast_spocket.cpp.

const int INITIAL_DELAY = 10

Definition at line 31 of file t_ucast_spocket.cpp.


Generated on Fri Nov 28 04:30:25 2008 for HOOPLE Libraries by  doxygen 1.5.1