https://github.com/jgmdev/lite-xl-net
TCP and UDP sockets support for Lite XL using SDL2_net
https://github.com/jgmdev/lite-xl-net
Last synced: 4 months ago
JSON representation
TCP and UDP sockets support for Lite XL using SDL2_net
- Host: GitHub
- URL: https://github.com/jgmdev/lite-xl-net
- Owner: jgmdev
- License: mit
- Created: 2022-12-21T03:51:59.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T19:29:04.000Z (about 3 years ago)
- Last Synced: 2025-08-09T19:43:38.539Z (6 months ago)
- Language: C
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Lite XL Net Plugin
This repository provides a **native** binding to
[SDL2_net](https://github.com/libsdl-org/SDL_net) to provide TCP and UDP
sockets support in Lite XL. Inspiration was taken from luasdl2
[sdl-net](https://github.com/Tangent128/luasdl2/tree/master/sdl-net) wrapper.
## Building
You will need to have meson and a working build environment for your operating
system. Then, to build just execute the following commands:
```sh
meson setup build
meson compile -C build
```
## Installation
To install just copy the generated library file to your libraries directory:
```sh
cp build/net.so ~/.config/lite-xl/libraries/
```
## Usage:
You can view the API documention on the [docs](docs/net.lua) subdirectory,
and also consult official [SDL2_net](https://github.com/libsdl-org/SDL_net)
header file which has useful doc comments.