Skip to content

StudioCherno/Walnut-Networking

Repository files navigation

Walnut-Networking

Walnut-Networking an optional module for Walnut which provides networking capabilities.

Getting Started

Add this is a submodule to your Walnut application. If you need to make a new Walnut app, check out WalnutAppTemplate.

If cloned into Walnut/ directory, Walnut's build scripts should automatically pick this up and include it into your project if present. Otherwise, if doing this manually, include the Build-Walnut-Networking.lua file into your build scripts somewhere, eg:

include "Walnut/Walnut-Networking/Build-Walnut-Networking.lua"

Walnut Chat is an example app made using Walnut and this Walnut-Networking module, so check that out for a further example of how to get started. The server component of this project runs on a Linux server (headless) which is also a useful example.

Features

  • Supports Windows and Linux (mostly)
  • Client/Server API for both reliable and unreliable data transmission, using Valve's GameNetworkingSockets library
  • Easy and clean network event callbacks and connection management
  • DNS lookup utility function for translating domain names to IP addresses (Walnut::Utils::ResolveDomainName)
  • [Planned] HTTP API for GET/POST requests

3rd Party Libraries

About

Optional networking module for Walnut

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published