ReplicaNet and RNLobby  1
XPSession

Introduction

A network session class. This handles machines joining and leaving a session.
This is a general purpose class for interfacing with the known transports and maintaining a stable interface between various connected machines. This class enables packets of data to be sent to a specific session ID or to all sessions as a broadcast. In addition to this the class also offers a standard time interface that gives a synchronised shared time between all connected machines. A RNReplicaNet::XPSession is used as the main basis underneath a RNReplicaNet::ReplicaNet session.

Using XPSession

Include files are in the Includes directory. Use "RNXPSession/Inc/XPSession.h" to access all of the C++ interface to the RNReplicaNet::XPSession class.
RNReplicaNet::XPSession is primarily a multi-threaded library as the framework uses threads to reduce CPU load. Single-threading is supported by means of using a Poll() call to ensure data is processed regularly.

To link follow the instructions at Using ReplicaNet