Ticket #261 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

support UDP sockets in the lua shim

Reported by: jesus Assigned to: jesus
Priority: major Milestone: Subterfuge
Component: noitd Severity: serious
Keywords: Cc:

Description

Allow udp sockets to be created and acted on in lua modules.

Change History

02/19/10 21:17:31 changed by jesus

(In [1226]) Add option params to noit.socket()

noit.socket(family, proto) like noit.socket('inet', 'udp')

For sockets, added

local returncode, data, ip, port = noit.socket:recv()

local returncode, err = noit.socket:sendto(buffer, ip, port)

local returncode, err = noit.socket:send(buffer)

refs #261

05/07/10 14:01:37 changed by jesus

  • status changed from new to closed.
  • resolution set to fixed.

Done.