LifeLua 30-05-2025
Documentation for LifeLua
|
Network library. More...
Functions | |
table | network.ftp (boolean enable) |
nil | network.ftpadddevice (string device) |
nil | network.ftpremovedevice (string device) |
boolean | network.ftpinit () |
boolean | network.wifi () |
string | network.ip () |
string | network.mac () |
nil | network.download (string url, string path) |
nil network.download | ( | string | url, |
string | path ) |
Downloads a file to a specified path
LifeLuaNetworkDownload
if it exists. Arguments' names don't matter. table network.ftp | ( | boolean | enable | ) |
Initializes FTP
nil network.ftpadddevice | ( | string | device | ) |
Adds a partition to the running FTP server
boolean network.ftpinit | ( | ) |
Checks if FTP is enabled or not
nil network.ftpremovedevice | ( | string | device | ) |
Removes a partition from the running FTP server
string network.ip | ( | ) |
Gets the Vita's IP address
string network.mac | ( | ) |
Gets the Vita's MAC address
boolean network.wifi | ( | ) |
Checks if the WiFi is enabled on the Vita or not