mirror of
https://github.com/AR2000AR/openComputers_codes.git
synced 2025-09-06 21:51:14 +02:00
10 lines
207 B
Lua
10 lines
207 B
Lua
local TCPSocket = require("socket.tcp")
|
|
local UDPSocket = require("socket.udp")
|
|
|
|
return {
|
|
udp = UDPSocket,
|
|
tcp = TCPSocket,
|
|
---@type socketdns
|
|
dns = select(2, pcall(require, "socket.dns"))
|
|
}
|