Local loopback network driver that feeds packets back into the bundled software network stack.
- Repository:
opencomputers - System:
network - Type:
library
OpenComputers/src\main\resources\assets\opencomputers\loot\network\data\lib\network\loopback.lua
local loopback = require("network.loopback")- Description: Return packet and byte counters for the loopback interface.
- Parameters:
interface
loopback.info(0)- Description: Deliver a packet to the loopback handler when the destination is
localhoston interfacelo. - Parameters:
handleinterfacedestinationdata
loopback.send(nil, 0, nil, nil)- Description: Register the
lointerface and itslocalhosthost entry with the supplied event handler. - Parameters:
eventHandler
loopback.start(nil)- Only exported module functions are listed on this page.