List of all members.
Detailed Description
The network session reception is used to answer game session requests. This should be done by the server only.
network::NetworkSessionReception Reception;
Reception.openSession(SessionPort, SessionKey, "This is a test session description from the server");
Constructor & Destructor Documentation
sp::network::NetworkSessionReception::NetworkSessionReception |
( |
|
) |
|
sp::network::NetworkSessionReception::~NetworkSessionReception |
( |
|
) |
|
Member Function Documentation
void sp::network::NetworkSessionReception::closeSession |
( |
|
) |
|
io::stringc sp::network::NetworkSessionReception::getSessionDescription |
( |
|
) |
const [inline] |
io::stringc sp::network::NetworkSessionReception::getSessionKey |
( |
|
) |
const [inline] |
bool sp::network::NetworkSessionReception::openSession |
( |
u16 |
Port, |
|
|
const io::stringc & |
SessionKey, |
|
|
const io::stringc & |
SessionDescription | |
|
) |
| | |
Opens a new network session.
- Parameters:
-
| Port,: | Specifies the port number on which the session requests can be transmitted. |
| SessionKey,: | Specifies the session key to guarantee that only your individual game can communicate with other instances of the same game. |
| SessionDescription,: | Specifies the session description which can store information about the running game instance. |
The documentation for this class was generated from the following file: