Planet
navi homeaboutscreenshotsdownloaddevelopmentforum

ConnectionMonitor

ArchivePage?

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();

Last modified 9 years ago Last modified on Nov 28, 2007, 12:39:59 AM