Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 2 (modified by landauf, 16 years ago) (diff)

ConnectionMonitor

Short description of the module and its functions:

Next steps:

  • Statistics
    1. Implement the network statistics functions for a TCP stream (reliable data connection)
    2. Test the function as soon as NetworkStream? passes the data
/* general notes:
   - Objects from this class are always referenced by the NetworkStream
*/


/*
 * This function is called whenever the NetworkStream delivers any data. The pointer
 * to the data is passed as a byte reference to this function.
 */ 
 void process(byte* data, int length);

/*
 * This function displays the current statistical analysis of the connection to the STDOUT
 */ 
 void displayStatistic();