Version 2 (modified by landauf, 17 years ago) (diff) |
---|
ConnectionMonitor
Short description of the module and its functions:
Next steps:
- Statistics
- Implement the network statistics functions for a TCP stream (reliable data connection)
- 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();