net-mumu 0.1.0

Network tools plugin for the Lava language
Documentation
net-mumu-0.1.0 has been yanked.

lavanet - Network plugin for MuMu

This is a Net/ping plugin for the MuMu lang-like lava runtime environment.

@license: MIT, Apache 2.0

Documentation:

This provides net:fetch, net:ping, and net:stop functions for crossing the internet with Lumu scripts. It provides high-level network actions, like raws ICCM ping, and web fetch.

extend("net")
import("NET")

Example:

token_id = net:ping("example.com", slog})
net:stop(token_id)
net:fetch("https://example.com", (data) => { slog(data); });

Please note:

  • This plugin is alpha/linux only.

  • Plugin automatically registers itself with the MuMu interpreter: you must call extend("net") from within lumu.

  • For use with mumu, libs are built with cdylib and must be loaded with extend.

Build

With Cargo

To build the libary and install it:

make all
sudo make install

Environment requirements:

  • root permissions for raw ICCM ping (linux only)
  • should be compatible with Smart Linu and Rust cargo (2021).

Licensing: MIT, Apache 2.0

Contact: Please submit issues via GitLab iss.