Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of code/doc/network/Host


Ignore:
Timestamp:
Sep 17, 2008, 4:20:21 PM (16 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/network/Host

    v3 v4  
    1717|| '''Function Name''' || '''Description''' ||
    1818|| Server() || Constructor: sets port to 55556 and binds to all addresses ||
    19 || Server(int portnr) || Constructor: sets port to portnr ||
     19|| Server(int portnr)This class implements a list with all neccessary information about a client (e.g. network address, port, PlayerID, shipID, gamestateID, ...). It is for internal use only. || Constructor: sets port to portnr ||
    2020|| Server(int portnr, string bindaddress) || Constructor: sets port to portnr and listens to bindaddress ||
    2121|| open() || opens the listener and accepts new connections ||
     
    2929|| closeConnection() || closes the connection ||
    3030== ClientInformation ==
    31 This class implements a list with all neccessary information about a client (e.g. network address, port, PlayerID, shipID, gamestateID, ...). It is for internal use only.
     31This class implements a list with all neccessary information about a client (e.g. network address, port, PlayerID, shipID, gamestateID, ...). It is used by Server and designed for internal use only.
    3232
    3333== Usage Examples ==