Currently a work-in-progress. Expect bugs!
Implementation of a network stack in ComputerCraft for MineCraft.
MCIP is designed to be accurate to a real-world TCP/IP setup with a focus on
accuracy to the OSI model (actual encapsulation!) and the ability to simulate
real networks.
- Put src/mcip.lua in computer filesystem's root as 'ncip'.
- Put src/lib/json in computer filesystem under lib/.
- Run examples or begin coding!
os.loadAPI("mcip")
mcip.initialize()
-- Change values as needed
mcip.ipv4_initialize("default", "192.168.1.1", "255.255.255.0", "192.168.1.254")
mcip.run_with(function()
while true do
-- Your code here
end
end)
@coreymatyas - Development (initial and ongoing).
@cmhull42 - Development.
All of Zvarpensg - General reference, rubber ducking, and (hopefully) ongoing
development.