This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
Content Creation
Materials
Unigine Material Library
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

RakNet Plugin

A RakNet plugin provides the following functionality for Unigine-based applications out of the box:

  • Client/server architecture
  • Exchange of time-stamped data through the network
  • Synchronization of states between the server and the client
  • Statistics about network connection
  • LAN server discovery

Network functionality is provided through RakNet, a cross-platform C++ game networking engine, which is integrated into Unigine framework. (See details).

How to Load Network Plugin

To dynamically load the Network plugin, the following is required:

  • Network library of the same bitness/debug version as Unigine executable (for example, libNetwork_x86d.so).
  • RakNet library of the same version (for example, libRakNet_x86d.so).
  • Define the following command by the engine start-up or in the launcher:
    Shell commands
    main_x86d -extern_plugin Network
    
    Here, you can define path to the Network module (without any prefixes or postfixes): relative to the executable or an absolute one.

Articles in This Section

Last update: 2017-07-03
Build: ()