performance/udps.h

///////////////////////////////////////////////////////////////////////////////
// Filename: udps.h
///////////////////////////////////////////////////////////////////////////////
// Purpose: some common definitions for udpsserver.c and udpssclient.c
///////////////////////////////////////////////////////////////////////////////
// History:
// ========
//
// Date     Time     Name      Description   
// -------- -------- --------  ------------------------------------------------
// 96/03/01 18:12:16 muellerg: created
//
///////////////////////////////////////////////////////////////////////////////


// Feature test switches ///////////////////////////// Feature test switches //
    /* NONE */



// System headers /////////////////////////////////////////// System headers //
    /* NONE */



// Local headers ///////////////////////////////////////////// Local headers //
    /* NONE */



// Macros /////////////////////////////////////////////////////////// Macros //

#ifdef hpux
const int MAX_BUFFER = 8192;        // maximum buffer size
#else
const int MAX_BUFFER = 16384;       // maximum buffer size
#endif


const int NUMBER_REPEAT = 1000;     // how often?
const int max_size = MAX_BUFFER;    // maximum size to send/receive
const int max_measurement = 32;     // maximum number of measurements

// File scope objects /////////////////////////////////// File scope objects //
    /* NONE */



// External variables, functions, and classes ///////////// External objects //
    /* NONE */



// Signal catching functions ///////////////////// Signal catching functions //
    /* NONE */



// Structures, unions, and class definitions /////////////////// Definitions //
    /* NONE */



// Functions and class implementation /// Functions and class implementation //
    /* NONE */



// Main /////////////////////////////////////////////////////////////// Main //
    /* NONE */