Skip to content
This repository
tree: eafbd61df4
Fetching contributors…

Cannot retrieve contributors at this time

file 11 lines (9 sloc) 0.269 kb
1 2 3 4 5 6 7 8 9 10 11
require("helper")
local net = require('net')

local client = net.create(4343, 'luvit.io')
client:setTimeout(250)
client:on('timeout', function()
  client:destroy()
end)

-- windows emits an error because of a interrupted system call
process:on('error', function() end)
Something went wrong with that request. Please try again.