Changes between Version 3 and Version 4 of code/doc/network/Host
- Timestamp:
- Sep 17, 2008, 4:20:21 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/network/Host
v3 v4 17 17 || '''Function Name''' || '''Description''' || 18 18 || 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 || 20 20 || Server(int portnr, string bindaddress) || Constructor: sets port to portnr and listens to bindaddress || 21 21 || open() || opens the listener and accepts new connections || … … 29 29 || closeConnection() || closes the connection || 30 30 == 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.31 This 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. 32 32 33 33 == Usage Examples ==