navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 3 (modified by landauf, 12 years ago) (diff)


This is an archived page!
This page is very old and the content is not up to date.
Not everything (if any) which is written here will be in the final game!

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