Changes between Version 1 and Version 2 of code/doc/network/Host
- Timestamp:
- Sep 17, 2008, 2:32:42 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/network/Host
v1 v2 1 = Host=2 == Overview==1 = Host = 2 == Overview == 3 3 The basic task of these classes is the interface between Orxonox and the network engine. This includes creating and opening a server, connecting to a server as client and provide common functions (for Server and Client) like sendChat. 4 4 5 5 The Host class is the parent class of Server and Client. It ensures that only one instance of either Server or Client is running (so called Singleton) and provides static functions that both (Server and Client) have to implement. 6 6 7 == Host class and common functions==7 == Host class and common functions == 8 8 Below is a list of functions that you might want to use: 9 9 || '''Function Name''' || '''Description''' || … … 12 12 || sendChat(unsigned char *message) || Sends a message to the server or the clients || 13 13 14 == Server class==14 == Server class == 15 15 16 16 17 == Client class==17 == Client class == 18 18 19 == Usage Examples==19 == Usage Examples ==