1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-25 19:38:07 +11:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Amanda Cameron
5c2e4e6137
Merge 8c1c25f79e into 60931734e3 2024-02-09 06:46:26 +10:00
60931734e3 add libsyslog as a dependency to dss2-server 2024-02-07 15:08:45 +10:00
Amanda Cameron
8c1c25f79e microtel: Add support for broadcast and multicast. 2020-11-16 09:28:41 -05:00
2 changed files with 12 additions and 0 deletions

View File

@ -74,6 +74,17 @@ function computer.pullSignal(t)
else else
packetQueue[eventTab[11]] = nil packetQueue[eventTab[11]] = nil
end end
elseif eventTab[8]:sub(1,1) == "~" then
if eventTab[8] == "~" then
computer.pushSignal("net_broadcast", eventTab[9], eventTab[10], eventTab[11])
else
for d in eventTab[8]:gmatch("~([^~]+)") do
if d == net.hostname then
computer.pushSignal("net_msg",eventTab[9],eventTab[10],eventTab[11])
break
end
end
end
elseif net.route and checkCache(eventTab[6]) then elseif net.route and checkCache(eventTab[6]) then
rawSendPacket(eventTab[6],eventTab[7],eventTab[8],eventTab[9],eventTab[10],eventTab[11]) rawSendPacket(eventTab[6],eventTab[7],eventTab[8],eventTab[9],eventTab[10],eventTab[11])
end end

View File

@ -382,6 +382,7 @@
["https://git.shadowkat.net/izaya/OC-DSS2/raw/branch/master/OpenOS/server/etc/rc.d/searchsrv.lua"] = "//etc/rc.d", ["https://git.shadowkat.net/izaya/OC-DSS2/raw/branch/master/OpenOS/server/etc/rc.d/searchsrv.lua"] = "//etc/rc.d",
["mtrpc"] = "", ["mtrpc"] = "",
["liblz16"] = "", ["liblz16"] = "",
["libsyslog"] = ""
}, },
name = "Drawer Storage System 2 Server", name = "Drawer Storage System 2 Server",
description = "Server component of a DSS2 system", description = "Server component of a DSS2 system",