1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-06 21:51:14 +02:00
Files
openComputers_codes/network/lib/socket/init.lua
2023-11-30 21:02:08 +01:00

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"))
}