Class that reads a replay file and acts as a local server, sending the packets in the file.
#include <nrg_replay_server.h>
Public Member Functions | |
ReplayServer () | |
Default constructor. | |
bool | openReplay (const char *filename) |
Opens the specified replay file by name, returns true if it opened successfully. | |
bool | bind (const char *port) |
Binds the server to the specified local port. | |
bool | update () |
Updates the ReplayServer, potentially sending new packets. | |
bool | isReplayRunning () const |
Returns true if the ReplayServer is active. | |