Utopia-Networking is an optional module for Utopia that provides networking capabilities.
To add Utopia-Networking to your Utopia application:
-
Clone this repository as a submodule within the
Utopia/
directory. If placed correctly, Utopia's build scripts will automatically detect and include it in your project. -
For manual integration, include the
Build-Utopia-Networking.lua
file in your build scripts, as shown below:
include "Utopia/Utopia-Networking/Build-Utopia-Networking.lua"
- Cross-Platform Support: Compatible with Windows and Linux.
- Comprehensive Networking API: Includes client/server functionality for both reliable and unreliable data transmission using Valve's GameNetworkingSockets library.
- Simplified Event Management: Provides clean and efficient network event callbacks and connection management.
- DNS Resolution Utility: Includes a utility function (
Utopia::Utils::ResolveDomainName
) to translate domain names into IP addresses.