|  Developer
Updated on November 14, 2021

close()

  • Closes a UDP socket.
Edit
Parameter Type Required Description
handle int + Connection handle
Edit
Nothing
Edit
				
					local network = require("network")
local handle = network.udp();
network.sendto(handle, "Hi there!", "192.168.1.100", "8021")
network.close(handle)